aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschnetter <schnetter@fb53df36-e548-4a1e-8150-ab98cbd5e786>2010-03-25 22:11:40 +0000
committerschnetter <schnetter@fb53df36-e548-4a1e-8150-ab98cbd5e786>2010-03-25 22:11:40 +0000
commit32d49b6025678feea6f1b54d4d1fa8657559c023 (patch)
treeda79073ef5d84e44920a06fd1dbe4fdd8c0c6a60
parent82cf830eb961ba1ffbcbd335092db22a25c1ebd9 (diff)
Configure on Windows correctly
git-svn-id: http://svn.cactuscode.org/projects/ExternalLibraries/HDF5/trunk@9 fb53df36-e548-4a1e-8150-ab98cbd5e786
-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
+
################################################################################