summaryrefslogtreecommitdiffstats
path: root/c++/src/h5c++.in
diff options
context:
space:
mode:
Diffstat (limited to 'c++/src/h5c++.in')
-rw-r--r--c++/src/h5c++.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/c++/src/h5c++.in b/c++/src/h5c++.in
index 20435eb..e0ee8af 100644
--- a/c++/src/h5c++.in
+++ b/c++/src/h5c++.in
@@ -100,6 +100,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() {