summaryrefslogtreecommitdiff
path: root/lib/make/extras/HDF5/setup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'lib/make/extras/HDF5/setup.sh')
-rwxr-xr-xlib/make/extras/HDF5/setup.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/make/extras/HDF5/setup.sh b/lib/make/extras/HDF5/setup.sh
index 7a6b62aa..f7ba1365 100755
--- a/lib/make/extras/HDF5/setup.sh
+++ b/lib/make/extras/HDF5/setup.sh
@@ -83,7 +83,7 @@ if [ $test_compress2 -eq 0 -o $test_zlib -eq 0 ] ; then
fi
# Finally, add the math lib which might not be linked against by default
-HDF5_LIBS += m
+HDF5_LIBS="$HDF5_LIBS m"
# Write the data out to the header and make files.