summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorDylan Simon <dylan@dylex.net>2021-07-09 10:58:02 -0400
committerGitHub <noreply@github.com>2021-07-09 16:58:02 +0200
commit02c5c76f0bfc6fd51f022e1008399ef85beb7938 (patch)
tree02b1f50ab9969bb492fcdbda9b124aa1e42aab5b /var
parent07fab46262b98c86eca6d17bf8216d2819c4b7ac (diff)
downloadspack-02c5c76f0bfc6fd51f022e1008399ef85beb7938.tar.gz
spack-02c5c76f0bfc6fd51f022e1008399ef85beb7938.tar.bz2
spack-02c5c76f0bfc6fd51f022e1008399ef85beb7938.tar.xz
spack-02c5c76f0bfc6fd51f022e1008399ef85beb7938.zip
pthreadpool: enable shared libraries (#24657)
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/pthreadpool/package.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/pthreadpool/package.py b/var/spack/repos/builtin/packages/pthreadpool/package.py
index b884dc96cb..a2e7756065 100644
--- a/var/spack/repos/builtin/packages/pthreadpool/package.py
+++ b/var/spack/repos/builtin/packages/pthreadpool/package.py
@@ -50,6 +50,7 @@ class Pthreadpool(CMakePackage):
def cmake_args(self):
return [
+ self.define('BUILD_SHARED_LIBS', True),
self.define('FXDIV_SOURCE_DIR',
join_path(self.stage.source_path, 'deps', 'fxdiv')),
self.define('GOOGLETEST_SOURCE_DIR',