summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2017-04-18 15:38:14 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2017-04-18 19:13:22 (GMT)
commitd5da45e168a4e5efeab22c800e5d8d9ff76ea853 (patch)
tree0d9a030d2d56731193709865011fd854ad3279a8 /tools
parented9ffe724978a76043cc47d80623c7bdb4f34f60 (diff)
downloadhdf5-d5da45e168a4e5efeab22c800e5d8d9ff76ea853.zip
hdf5-d5da45e168a4e5efeab22c800e5d8d9ff76ea853.tar.gz
hdf5-d5da45e168a4e5efeab22c800e5d8d9ff76ea853.tar.bz2
Add plugin options for libs
Diffstat (limited to 'tools')
-rw-r--r--tools/test/h5dump/Makefile.am4
-rw-r--r--tools/test/h5repack/Makefile.am2
2 files changed, 4 insertions, 2 deletions
diff --git a/tools/test/h5dump/Makefile.am b/tools/test/h5dump/Makefile.am
index 9a63730..4511703 100644
--- a/tools/test/h5dump/Makefile.am
+++ b/tools/test/h5dump/Makefile.am
@@ -39,9 +39,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
diff --git a/tools/test/h5repack/Makefile.am b/tools/test/h5repack/Makefile.am
index aa964ca..32213cd 100644
--- a/tools/test/h5repack/Makefile.am
+++ b/tools/test/h5repack/Makefile.am
@@ -48,6 +48,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