summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/sdsl-lite/package.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/sdsl-lite/package.py b/var/spack/repos/builtin/packages/sdsl-lite/package.py
index d5d2a251c0..ba2485c6b7 100644
--- a/var/spack/repos/builtin/packages/sdsl-lite/package.py
+++ b/var/spack/repos/builtin/packages/sdsl-lite/package.py
@@ -32,5 +32,11 @@ class SdslLite(Package):
tar('-xvf', self.stage.archive_file)
with working_dir('sdsl-lite-{0}'.format(spec.version.dotted)):
+ if self.spec.satisfies('%fj'):
+ filter_file(
+ 'stdlib=libc',
+ 'stdlib=libstdc',
+ './CMakeLists.txt'
+ )
helper = Executable('./install.sh')
helper(prefix)