summaryrefslogtreecommitdiffstats
path: root/tools/misc/h5cc.in
diff options
context:
space:
mode:
Diffstat (limited to 'tools/misc/h5cc.in')
-rw-r--r--tools/misc/h5cc.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/misc/h5cc.in b/tools/misc/h5cc.in
index 233c80a..d05b920 100644
--- a/tools/misc/h5cc.in
+++ b/tools/misc/h5cc.in
@@ -102,6 +102,10 @@ CPPFLAGS="${HDF5_CPPFLAGS:-$CPPFLAGSBASE}"
LDFLAGS="${HDF5_LDFLAGS:-$LDFLAGSBASE}"
LIBS="${HDF5_LIBS:-$LIBSBASE}"
+# If static was disabled, @HDF5_USE_SHLIB@ will be yes. In that case
+# HDF5_USE_SHLIB should be set to yes because there are no static
+# lib files.
+HDF5_USE_SHLIB="@HDF5_USE_SHLIB@"
USE_SHARED_LIB="${HDF5_USE_SHLIB:-no}"
usage() {