aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbmundim <bmundim@fb53df36-e548-4a1e-8150-ab98cbd5e786>2015-05-05 23:55:49 +0000
committerbmundim <bmundim@fb53df36-e548-4a1e-8150-ab98cbd5e786>2015-05-05 23:55:49 +0000
commite90c4386b90cd0eade36e23d550cc29345b4c4ef (patch)
tree82cfb43806f3abc8ef462dec04e3c342626dad74
parent25848a0dd9e71b77035af58c3a5905838f2deae0 (diff)
Change -dumpversion to -dumpmachine to get the architecture string right.
git-svn-id: http://svn.cactuscode.org/projects/ExternalLibraries/HDF5/trunk@105 fb53df36-e548-4a1e-8150-ab98cbd5e786
-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=''