summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Davydov <davydden@gmail.com>2016-11-28 18:12:48 +0100
committerTodd Gamblin <tgamblin@llnl.gov>2016-11-28 09:12:48 -0800
commitd2d23b76da2f90716a426b7faa1431261c83e2b9 (patch)
tree01a7c0c4ea0924dc4fb4dcb9e6c1068c4601edf3
parentb47bd9cc00d06c4d35bdef3f5f573574e49127e1 (diff)
downloadspack-d2d23b76da2f90716a426b7faa1431261c83e2b9.tar.gz
spack-d2d23b76da2f90716a426b7faa1431261c83e2b9.tar.bz2
spack-d2d23b76da2f90716a426b7faa1431261c83e2b9.tar.xz
spack-d2d23b76da2f90716a426b7faa1431261c83e2b9.zip
hdf5: fix for lib64 installation (#2349)
-rw-r--r--var/spack/repos/builtin/packages/hdf5/package.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/hdf5/package.py b/var/spack/repos/builtin/packages/hdf5/package.py
index 2820a3a304..75aa239be3 100644
--- a/var/spack/repos/builtin/packages/hdf5/package.py
+++ b/var/spack/repos/builtin/packages/hdf5/package.py
@@ -175,7 +175,9 @@ HDF5 version {version} {version}
# TODO: Automate these path and library settings
cc('-c', "-I%s" % join_path(spec.prefix, "include"), "check.c")
cc('-o', "check", "check.o",
- "-L%s" % join_path(spec.prefix, "lib"), "-lhdf5",
+ "-L%s" % join_path(spec.prefix, "lib"),
+ "-L%s" % join_path(spec.prefix, "lib64"),
+ "-lhdf5",
"-lz")
try:
check = Executable('./check')