diff --git a/var/spack/repos/builtin/packages/pthreadpool/package.py b/var/spack/repos/builtin/packages/pthreadpool/package.py index 2754fef9b7c6b7..55492f80b51f0f 100644 --- a/var/spack/repos/builtin/packages/pthreadpool/package.py +++ b/var/spack/repos/builtin/packages/pthreadpool/package.py @@ -65,6 +65,6 @@ def cmake_args(self): # https://github.com/pytorch/pytorch/blob/main/cmake/Dependencies.cmake self.define("PTHREADPOOL_BUILD_TESTS", False), self.define("PTHREADPOOL_BUILD_BENCHMARKS", False), - self.define("PTHREADPOOL_LIBRARY_TYPE", "static"), + self.define("PTHREADPOOL_LIBRARY_TYPE", "shared"), self.define("PTHREADPOOL_ALLOW_DEPRECATED_API", True), ]