summaryrefslogtreecommitdiff
path: root/lib/make/extras/HDF5
diff options
context:
space:
mode:
authortradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac>2000-11-04 00:01:39 +0000
committertradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac>2000-11-04 00:01:39 +0000
commita9068c535f50c3ebecf86af249842f78aa5b9278 (patch)
tree02f5c3647e800ae25cc98bb000a65735998af020 /lib/make/extras/HDF5
parent1d15b0e726354982efd54b5d10742ed34514d41c (diff)
Added libm.a to the libs required for linking with HDF5.
Just in case this library might not be specified already by other packages. git-svn-id: http://svn.cactuscode.org/flesh/trunk@1878 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib/make/extras/HDF5')
-rwxr-xr-xlib/make/extras/HDF5/setup.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/make/extras/HDF5/setup.sh b/lib/make/extras/HDF5/setup.sh
index 7f647817..7a6b62aa 100755
--- a/lib/make/extras/HDF5/setup.sh
+++ b/lib/make/extras/HDF5/setup.sh
@@ -82,6 +82,9 @@ if [ $test_compress2 -eq 0 -o $test_zlib -eq 0 ] ; then
HDF5_LIB_DIRS="$HDF5_LIB_DIRS $LIBZ_DIR"
fi
+# Finally, add the math lib which might not be linked against by default
+HDF5_LIBS += m
+
# Write the data out to the header and make files.
CCTK_WriteLine cctk_Extradefs.h "#define HDF5"