summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Scheibel <scheibel1@llnl.gov>2016-01-22 13:43:16 -0800
committerPeter Scheibel <scheibel1@llnl.gov>2016-01-22 13:43:16 -0800
commita653d2f5e2f296ff66eb41ffb9f2f6e9b9bdb3b5 (patch)
tree957babc813b7b029835324db2a013174f222fda7
parent9f99ee61c733e8fee8ae4058fb9198288af40fc6 (diff)
downloadspack-a653d2f5e2f296ff66eb41ffb9f2f6e9b9bdb3b5.tar.gz
spack-a653d2f5e2f296ff66eb41ffb9f2f6e9b9bdb3b5.tar.bz2
spack-a653d2f5e2f296ff66eb41ffb9f2f6e9b9bdb3b5.tar.xz
spack-a653d2f5e2f296ff66eb41ffb9f2f6e9b9bdb3b5.zip
Slightly more robust approach for setting defaults for noinstall_libs
-rw-r--r--var/spack/repos/builtin/packages/boost/package.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/boost/package.py b/var/spack/repos/builtin/packages/boost/package.py
index 1403ea4411..a30cd7cc35 100644
--- a/var/spack/repos/builtin/packages/boost/package.py
+++ b/var/spack/repos/builtin/packages/boost/package.py
@@ -72,7 +72,7 @@ class Boost(Package):
all_libs = default_install_libs | default_noinstall_libs
for lib in all_libs:
- variant(lib, default=(lib in default_install_libs),
+ variant(lib, default=(lib not in default_noinstall_libs),
description="Compile with {0} library".format(lib))
variant('debug', default=False, description='Switch to the debug version of Boost')