LULESH: fix space in rpath for +visual (#36094)

This commit is contained in:
Jean-Baptiste Besnard 2023-03-20 11:16:58 +01:00 committed by GitHub
parent b8e5fc061d
commit 199f71ea48
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -41,8 +41,7 @@ def build_targets(self):
targets.append("SILO_INCDIR = {0}".format(self.spec["silo"].prefix.include))
targets.append("SILO_LIBDIR = {0}".format(self.spec["silo"].prefix.lib))
cxxflag = " -g -DVIZ_MESH -I${SILO_INCDIR} "
ldflags = " -g -L${SILO_LIBDIR} -Wl,-rpath -Wl, "
ldflags += "${SILO_LIBDIR} -lsiloh5 -lhdf5 "
ldflags = " -g -L${SILO_LIBDIR} -Wl,-rpath=${SILO_LIBDIR} -lsiloh5 -lhdf5 "
if "+openmp" in self.spec:
cxxflag += self.compiler.openmp_flag