mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-27 14:00:45 -04:00
17 lines
717 B
Plaintext
17 lines
717 B
Plaintext
$NetBSD: patch-libjava_Makefile.in,v 1.1 2014/09/04 18:43:11 jperkin Exp $
|
|
|
|
Tell libtool the fact that libjvm.so is a module to be opened with
|
|
dlopen(3). This is actually needed on Mach-O systems like Darwin.
|
|
|
|
--- libjava/Makefile.in.orig 2014-07-16 10:06:03.000000000 +0000
|
|
+++ libjava/Makefile.in
|
|
@@ -1134,7 +1134,7 @@ libgcj_tools_la_LINK = $(LIBLINK) $(libg
|
|
libjvm_la_SOURCES = jni-libjvm.cc
|
|
libjvm_la_DEPENDENCIES = libgcj.la libgcj.spec $(am__append_20)
|
|
libjvm_la_LIBADD = -L$(here)/.libs libgcj.la
|
|
-libjvm_la_LDFLAGS = -avoid-version $(LIBGCJ_LD_SYMBOLIC) \
|
|
+libjvm_la_LDFLAGS = -avoid-version -module $(LIBGCJ_LD_SYMBOLIC) \
|
|
$(LIBJAVA_LDFLAGS_NOUNDEF)
|
|
|
|
libjvm_la_LINK = $(CXXLINK) $(libjvm_la_LDFLAGS)
|