aboutsummaryrefslogtreecommitdiff
path: root/HDF5.sh
diff options
context:
space:
mode:
Diffstat (limited to 'HDF5.sh')
-rw-r--r--HDF5.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/HDF5.sh b/HDF5.sh
index 54b2e49..67172e4 100644
--- a/HDF5.sh
+++ b/HDF5.sh
@@ -167,6 +167,11 @@ if [ $test_zlib -eq 0 ]; then
fi
fi
+# Add the math library which might not be linked by default
+if [ $is_windows -eq 0 ]; then
+ HDF5_LIBS="$HDF5_LIBS m"
+fi
+
################################################################################