hdf5: fix for lib64 installation (#2349)

This commit is contained in:
Denis Davydov 2016-11-28 18:12:48 +01:00 committed by Todd Gamblin
parent b47bd9cc00
commit d2d23b76da

View File

@ -175,7 +175,9 @@ def check_install(self):
# 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')