summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2017-04-18 18:27:54 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2017-04-18 21:54:29 (GMT)
commite710ee4ea282fd278d77f7a76004b48dcdc8edb4 (patch)
tree492a25e268c80a98f6cb40c696e383589bf8df29
parentd7d2540ac1530e14fe9a1c9af9e82aed8706c782 (diff)
downloadhdf5-e710ee4ea282fd278d77f7a76004b48dcdc8edb4.zip
hdf5-e710ee4ea282fd278d77f7a76004b48dcdc8edb4.tar.gz
hdf5-e710ee4ea282fd278d77f7a76004b48dcdc8edb4.tar.bz2
LDFLAGS module forces .so lib to be built on osx instead of .dylib
-rw-r--r--java/src/jni/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/src/jni/Makefile.am b/java/src/jni/Makefile.am
index 84b8f9c..6ded371 100644
--- a/java/src/jni/Makefile.am
+++ b/java/src/jni/Makefile.am
@@ -29,7 +29,7 @@ AM_CPPFLAGS+=-I$(top_srcdir)/src -I$(top_srcdir)/java/src/jni $(JNIFLAGS)
lib_LTLIBRARIES=libhdf5_java.la
# Add libtool numbers to the HDF5 Java (JNI) library (from config/lt_vers.am)
-libhdf5_java_la_LDFLAGS= -version-info $(LT_JAVA_VERS_INTERFACE):$(LT_JAVA_VERS_REVISION):$(LT_JAVA_VERS_AGE) $(AM_LDFLAGS)
+libhdf5_java_la_LDFLAGS = -avoid-version -shared -export-dynamic -version-info $(LT_JAVA_VERS_INTERFACE):$(LT_JAVA_VERS_REVISION):$(LT_JAVA_VERS_AGE) $(AM_LDFLAGS)
# Source files for the library
libhdf5_java_la_SOURCES=exceptionImp.c h5Constants.c nativeData.c h5util.c h5Imp.c \