This is the mail archive of the java-prs@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug java/43839] libjava incorrectly uses -liconv in testsuite, jni.exp when using --with-libiconv-prefix



------- Comment #2 from mrs at gcc dot gnu dot org  2010-04-21 18:52 -------
Found it:

  if { [istarget "*-*-darwin*"] } {
    lappend cxxflags -shared-libgcc -lgcj -liconv
  }

in libjava/testsuite/libjava.jni/jni.exp.  This needs the proper -L added just
before -liconv, or libgcj linked with -L... -liconv.  So, the question is,
which solution is desired?  Normally I like adding -liconv to the libgcj link
line, so that all consumers of libgcj just work.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43839


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]