summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Baptiste Besnard <jbbesnard@paratools.fr>2023-03-20 11:16:58 +0100
committerGitHub <noreply@github.com>2023-03-20 11:16:58 +0100
commit199f71ea48b8feab2d3df65dfe31c29f25c04391 (patch)
tree868ca1ebe2c7808c0ba1793c75d3532644f0f1e9
parentb8e5fc061dcd0fe3ce9d8b44f52c3062ddde50bb (diff)
downloadspack-199f71ea48b8feab2d3df65dfe31c29f25c04391.tar.gz
spack-199f71ea48b8feab2d3df65dfe31c29f25c04391.tar.bz2
spack-199f71ea48b8feab2d3df65dfe31c29f25c04391.tar.xz
spack-199f71ea48b8feab2d3df65dfe31c29f25c04391.zip
LULESH: fix space in rpath for +visual (#36094)
-rw-r--r--var/spack/repos/builtin/packages/lulesh/package.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/lulesh/package.py b/var/spack/repos/builtin/packages/lulesh/package.py
index ddc695dbde..9282b3da66 100644
--- a/var/spack/repos/builtin/packages/lulesh/package.py
+++ b/var/spack/repos/builtin/packages/lulesh/package.py
@@ -41,8 +41,7 @@ class Lulesh(MakefilePackage):
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