aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--HDF5.sh2
-rw-r--r--configuration.ccl2
2 files changed, 3 insertions, 1 deletions
diff --git a/HDF5.sh b/HDF5.sh
index 67172e4..2d4f817 100644
--- a/HDF5.sh
+++ b/HDF5.sh
@@ -146,6 +146,7 @@ else
test_szlib=1
fi
if [ $test_szlib -eq 0 ]; then
+ HDF5_LIB_DIRS="$HDF5_LIB_DIRS $LIBSZ_DIR"
if [ $is_windows -eq 0 ]; then
HDF5_LIBS="$HDF5_LIBS sz"
else
@@ -160,6 +161,7 @@ else
test_zlib=1
fi
if [ $test_zlib -eq 0 ]; then
+ HDF5_LIB_DIRS="$HDF5_LIB_DIRS $LIBZ_DIR"
if [ $is_windows -eq 0 ]; then
HDF5_LIBS="$HDF5_LIBS z"
else
diff --git a/configuration.ccl b/configuration.ccl
index de8b1fd..25fd2a7 100644
--- a/configuration.ccl
+++ b/configuration.ccl
@@ -4,5 +4,5 @@ PROVIDES HDF5
{
SCRIPT HDF5.sh
LANG bash
- OPTIONS HDF5_DIR
+ OPTIONS HDF5_DIR LIBSZ_DIR LIBZ_DIR
}