This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Patch: FYI: xlib peer link fix
- From: Tom Tromey <tromey at redhat dot com>
- To: Java Patch List <java-patches at gcc dot gnu dot org>
- Date: 02 Feb 2003 15:54:10 -0700
- Subject: Patch: FYI: xlib peer link fix
- Reply-to: tromey at redhat dot com
I'm checking this in.
The xlib peers need to be linked against libstdc++.
This patch ought to do it.
I'm checking this in on the trunk and the 3.3 branch.
With this I can get TestAWT to crash "normally" when using the xlib
peers.
Tom
Index: ChangeLog
from Tom Tromey <tromey@redhat.com>
* Makefile.in: Rebuilt.
* Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
libstdc++.
Index: Makefile.am
===================================================================
RCS file: /cvs/gcc/gcc/libjava/Makefile.am,v
retrieving revision 1.264.2.7
diff -u -r1.264.2.7 Makefile.am
--- Makefile.am 31 Jan 2003 21:46:16 -0000 1.264.2.7
+++ Makefile.am 2 Feb 2003 23:04:56 -0000
@@ -201,7 +201,8 @@
EXTRA_lib_gnu_awt_xlib_la_SOURCES = $(x_java_source_files)
lib_gnu_awt_xlib_la_DEPENDENCIES = libgcj-@gcc_version@.jar $(x_javao_files)
lib_gnu_awt_xlib_la_LIBADD = $(x_javao_files)
-lib_gnu_awt_xlib_la_LDFLAGS = @X_PRE_LIBS@ @X_LIBS@ -lX11 @X_EXTRA_LIBS@ \
+lib_gnu_awt_xlib_la_LDFLAGS = ../libstdc++-v3/src/libstdc++.la \
+ @X_PRE_LIBS@ @X_LIBS@ -lX11 @X_EXTRA_LIBS@ \
-rpath $(toolexeclibdir) \
## The mysterious backslash is consumed by make.
-version-info `grep -v '^\#' $(srcdir)/libtool-version`