aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/detect.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/detect.sh b/src/detect.sh
index 9a64b4c..4a8a036 100755
--- a/src/detect.sh
+++ b/src/detect.sh
@@ -159,7 +159,7 @@ fi
################################################################################
# Set library directory name for machine architecture
-if machine=$(gcc -dumpversion 2>/dev/null); then
+if machine=$(gcc -dumpmachine 2>/dev/null); then
machinedir="${HDF5_DIR}/lib/${machine}"
else
machinedir=''