aboutsummaryrefslogtreecommitdiff
path: root/libjava
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2005-01-24 18:33:14 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2005-01-24 18:33:14 +0100
commita2fcf6734a9ec7dbcc2ad6dd02bd3aa8c4c82dcf (patch)
tree64b5e065f799bd09519bdb1a9808b5e2b12d3b19 /libjava
parent1a9ce0b71529f4f0520409137b3c8acc69d3ab5e (diff)
downloadgcc-a2fcf6734a9ec7dbcc2ad6dd02bd3aa8c4c82dcf.zip
gcc-a2fcf6734a9ec7dbcc2ad6dd02bd3aa8c4c82dcf.tar.gz
gcc-a2fcf6734a9ec7dbcc2ad6dd02bd3aa8c4c82dcf.tar.bz2
Makefile.am (libgij_la_LIBADD): Add -L$(here)/.libs.
* Makefile.am (libgij_la_LIBADD): Add -L$(here)/.libs. (libgij_la_LDFLAGS): Add. * Makefile.in: Rebuilt. From-SVN: r94165
Diffstat (limited to 'libjava')
-rw-r--r--libjava/ChangeLog6
-rw-r--r--libjava/Makefile.am6
-rw-r--r--libjava/Makefile.in4
3 files changed, 14 insertions, 2 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog
index 86447b9..1638e58 100644
--- a/libjava/ChangeLog
+++ b/libjava/ChangeLog
@@ -1,3 +1,9 @@
+2005-01-24 Jakub Jelinek <jakub@redhat.com>
+
+ * Makefile.am (libgij_la_LIBADD): Add -L$(here)/.libs.
+ (libgij_la_LDFLAGS): Add.
+ * Makefile.in: Rebuilt.
+
2005-01-24 Roger Sayle <roger@eyesopen.com>
PR java/19295
diff --git a/libjava/Makefile.am b/libjava/Makefile.am
index a6aa9b5c..e212c3b 100644
--- a/libjava/Makefile.am
+++ b/libjava/Makefile.am
@@ -203,8 +203,12 @@ AM_CPPFLAGS = -I$(top_srcdir) -Iinclude -I$(top_srcdir)/include \
##
libgij_la_SOURCES = gij.cc
-libgij_la_LIBADD = libgcj.la
libgij_la_DEPENDENCIES = libgcj.la libgcj.spec
+## See jv_convert_LDADD.
+libgij_la_LIBADD = -L$(here)/.libs libgcj.la
+## The mysterious backslash in the grep pattern is consumed by make.
+libgij_la_LDFLAGS = -rpath $(toolexeclibdir) \
+ -version-info `grep -v '^\#' $(srcdir)/libtool-version` $(LIBGCJ_LD_SYMBOLIC)
libgcj_la_SOURCES = prims.cc jni.cc exception.cc \
link.cc defineclass.cc interpret.cc verify.cc \
diff --git a/libjava/Makefile.in b/libjava/Makefile.in
index 7c5e3733..433039d 100644
--- a/libjava/Makefile.in
+++ b/libjava/Makefile.in
@@ -4647,8 +4647,10 @@ AM_CPPFLAGS = -I$(top_srcdir) -Iinclude -I$(top_srcdir)/include \
$(GCC_UNWIND_INCLUDE) $(ZINCS) $(LIBFFIINCS)
libgij_la_SOURCES = gij.cc
-libgij_la_LIBADD = libgcj.la
libgij_la_DEPENDENCIES = libgcj.la libgcj.spec
+libgij_la_LIBADD = -L$(here)/.libs libgcj.la
+libgij_la_LDFLAGS = -rpath $(toolexeclibdir) \
+ -version-info `grep -v '^\#' $(srcdir)/libtool-version` $(LIBGCJ_LD_SYMBOLIC)
libgcj_la_SOURCES = prims.cc jni.cc exception.cc \
link.cc defineclass.cc interpret.cc verify.cc \
$(nat_source_files) $(math_c_source_files) $(java_source_files) \