summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2017-04-18 19:22:47 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2017-04-18 19:22:47 (GMT)
commit0558a12ef8515d11e629ccb815f6bc8632a98285 (patch)
tree49e48e172f807ac574e2edc7a855e03ea27f0c4b /tools
parentbb101f47746a522d9db2161cf02cb2d8f4108d25 (diff)
downloadhdf5-0558a12ef8515d11e629ccb815f6bc8632a98285.zip
hdf5-0558a12ef8515d11e629ccb815f6bc8632a98285.tar.gz
hdf5-0558a12ef8515d11e629ccb815f6bc8632a98285.tar.bz2
HDFFV-10170 undo patch and fix dyn lib build
Diffstat (limited to 'tools')
-rw-r--r--tools/h5diff/Makefile.am1
-rw-r--r--tools/h5dump/Makefile.am1
-rw-r--r--tools/h5repack/Makefile.am6
3 files changed, 7 insertions, 1 deletions
diff --git a/tools/h5diff/Makefile.am b/tools/h5diff/Makefile.am
index 0d01f14..00fc9b0 100644
--- a/tools/h5diff/Makefile.am
+++ b/tools/h5diff/Makefile.am
@@ -62,6 +62,7 @@ if HAVE_SHARED_CONDITIONAL
# Build it as shared library if configure is enabled for shared library.
lib_LTLIBRARIES=libdynlibdiff.la
libdynlibdiff_la_SOURCES=dynlib_diff.c
+ libdynlibdiff_la_LDFLAGS = -avoid-version -module -shared -export-dynamic
install-exec-hook:
$(RM) $(DESTDIR)$(libdir)/*dynlib*
diff --git a/tools/h5dump/Makefile.am b/tools/h5dump/Makefile.am
index 6d95bb2..4b54960 100644
--- a/tools/h5dump/Makefile.am
+++ b/tools/h5dump/Makefile.am
@@ -52,6 +52,7 @@ if HAVE_SHARED_CONDITIONAL
# Build it as shared library if configure is enabled for shared library.
lib_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*
diff --git a/tools/h5repack/Makefile.am b/tools/h5repack/Makefile.am
index 636dbde..83e94f6 100644
--- a/tools/h5repack/Makefile.am
+++ b/tools/h5repack/Makefile.am
@@ -63,10 +63,14 @@ h5repack.sh.chkexe_: h5repacktst.chkexe_
if HAVE_SHARED_CONDITIONAL
# Build it as shared library if configure is enabled for shared library.
- noinst_LTLIBRARIES=libdynlibadd.la libdynlibvers.la
+ lib_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
+install-exec-hook:
+ $(RM) $(DESTDIR)$(libdir)/*dynlib*
endif
# Temporary files. *.h5 are generated by h5repack. They should