This is the mail archive of the
java-prs@gcc.gnu.org
mailing list for the Java project.
[Bug java/43839] libjava incorrectly uses -liconv in testsuite, jni.exp when using --with-libiconv-prefix
- From: "mrs at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: java-prs at gcc dot gnu dot org
- Date: 21 Apr 2010 19:00:30 -0000
- Subject: [Bug java/43839] libjava incorrectly uses -liconv in testsuite, jni.exp when using --with-libiconv-prefix
- References: <bug-43839-12293@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from mrs at gcc dot gnu dot org 2010-04-21 19:00 -------
Nasty hack around:
Index: testsuite/libjava.jni/jni.exp
===================================================================
--- testsuite/libjava.jni/jni.exp (revision 157698)
+++ testsuite/libjava.jni/jni.exp (working copy)
@@ -267,7 +267,7 @@
# to just make the linker find libgcc using -L options.
# Similar logic applies to libgcj.
if { [istarget "*-*-darwin*"] } {
- lappend cxxflags -shared-libgcc -lgcj -liconv
+ lappend cxxflags -shared-libgcc -lgcj -L/opt/local/lib -liconv
}
if { [istarget "*-*-solaris*"] } {
seems to fix this issue.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43839