mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-12-21 07:51:46 +08:00
Add plugin options for libs
This commit is contained in:
parent
ed9ffe7249
commit
d5da45e168
@ -29,7 +29,7 @@ AM_CPPFLAGS+=-I$(top_srcdir)/src -I$(top_srcdir)/java/src/jni $(JNIFLAGS)
|
|||||||
lib_LTLIBRARIES=libhdf5_java.la
|
lib_LTLIBRARIES=libhdf5_java.la
|
||||||
|
|
||||||
# Add libtool numbers to the HDF5 Java (JNI) library (from config/lt_vers.am)
|
# 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
|
# Source files for the library
|
||||||
libhdf5_java_la_SOURCES=exceptionImp.c h5Constants.c nativeData.c h5util.c h5Imp.c \
|
libhdf5_java_la_SOURCES=exceptionImp.c h5Constants.c nativeData.c h5util.c h5Imp.c \
|
||||||
|
@ -109,6 +109,10 @@ if HAVE_SHARED_CONDITIONAL
|
|||||||
libdynlib2_la_SOURCES=dynlib2.c
|
libdynlib2_la_SOURCES=dynlib2.c
|
||||||
libdynlib3_la_SOURCES=dynlib3.c
|
libdynlib3_la_SOURCES=dynlib3.c
|
||||||
libdynlib4_la_SOURCES=dynlib4.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
|
else
|
||||||
# The libh5test library provides common support code for the tests.
|
# The libh5test library provides common support code for the tests.
|
||||||
|
@ -39,9 +39,9 @@ LDADD=$(LIBH5TOOLS) $(LIBHDF5)
|
|||||||
|
|
||||||
if HAVE_SHARED_CONDITIONAL
|
if HAVE_SHARED_CONDITIONAL
|
||||||
# Build it as shared library if configure is enabled for shared library.
|
# 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_SOURCES=dynlib_dump.c
|
||||||
|
libdynlibdump_la_LDFLAGS = -avoid-version -module -shared -export-dynamic
|
||||||
install-exec-hook:
|
install-exec-hook:
|
||||||
$(RM) $(DESTDIR)$(libdir)/*dynlib*
|
$(RM) $(DESTDIR)$(libdir)/*dynlib*
|
||||||
endif
|
endif
|
||||||
|
@ -48,6 +48,8 @@ if HAVE_SHARED_CONDITIONAL
|
|||||||
noinst_LTLIBRARIES=libdynlibadd.la libdynlibvers.la
|
noinst_LTLIBRARIES=libdynlibadd.la libdynlibvers.la
|
||||||
libdynlibadd_la_SOURCES=dynlib_rpk.c
|
libdynlibadd_la_SOURCES=dynlib_rpk.c
|
||||||
libdynlibvers_la_SOURCES=dynlib_vrpk.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
|
endif
|
||||||
|
|
||||||
# Temporary files. *.h5 are generated by h5repack. They should
|
# Temporary files. *.h5 are generated by h5repack. They should
|
||||||
|
Loading…
Reference in New Issue
Block a user