diff options
-rw-r--r-- | var/spack/repos/builtin/packages/salmon/package.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/salmon/package.py b/var/spack/repos/builtin/packages/salmon/package.py index 552a1c44ac..f9c561ed29 100644 --- a/var/spack/repos/builtin/packages/salmon/package.py +++ b/var/spack/repos/builtin/packages/salmon/package.py @@ -38,6 +38,10 @@ class Salmon(CMakePackage): depends_on('tbb') depends_on('boost@:1.66.0') + def patch(self): + # remove static linking to libstdc++ + filter_file('-static-libstdc++', '', 'CMakeLists.txt', string=True) + def cmake_args(self): args = ['-DBOOST_ROOT=%s' % self.spec['boost'].prefix] return args |