mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-21 01:04:10 +08:00
Add plugin options for libs
This commit is contained in:
parent
8e686f312e
commit
9b234d74bb
@ -31,7 +31,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 = -module -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 \
|
||||
|
@ -111,6 +111,10 @@ if HAVE_SHARED_CONDITIONAL
|
||||
libdynlib2_la_SOURCES=dynlib2.c
|
||||
libdynlib3_la_SOURCES=dynlib3.c
|
||||
libdynlib4_la_SOURCES=dynlib4.c
|
||||
libdynlib1_la_LDFLAGS = -avoid-version -module -shared -export-dynamic
|
||||
libdynlib2_la_LDFLAGS = -avoid-version -module -shared -export-dynamic
|
||||
libdynlib3_la_LDFLAGS = -avoid-version -module -shared -export-dynamic
|
||||
libdynlib4_la_LDFLAGS = -avoid-version -module -shared -export-dynamic
|
||||
|
||||
else
|
||||
# The libh5test library provides common support code for the tests.
|
||||
|
@ -41,9 +41,9 @@ LDADD=$(LIBH5TOOLS) $(LIBHDF5)
|
||||
|
||||
if HAVE_SHARED_CONDITIONAL
|
||||
# Build it as shared library if configure is enabled for shared library.
|
||||
lib_LTLIBRARIES=libdynlibdump.la
|
||||
noinst_LTLIBRARIES=libdynlibdump.la
|
||||
libdynlibdump_la_SOURCES=dynlib_dump.c
|
||||
|
||||
libdynlibdump_la_LDFLAGS = -avoid-version -module -shared -export-dynamic
|
||||
install-exec-hook:
|
||||
$(RM) $(DESTDIR)$(libdir)/*dynlib*
|
||||
endif
|
||||
|
@ -50,7 +50,8 @@ if HAVE_SHARED_CONDITIONAL
|
||||
noinst_LTLIBRARIES=libdynlibadd.la libdynlibvers.la
|
||||
libdynlibadd_la_SOURCES=dynlib_rpk.c
|
||||
libdynlibvers_la_SOURCES=dynlib_vrpk.c
|
||||
|
||||
libdynlibadd_la_LDFLAGS = -avoid-version -module -shared -export-dynamic
|
||||
libdynlibvers_la_LDFLAGS = -avoid-version -module -shared -export-dynamic
|
||||
endif
|
||||
|
||||
# Temporary files. *.h5 are generated by h5repack. They should
|
||||
|
Loading…
Reference in New Issue
Block a user