summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Oberzalek <62324958+moberza@users.noreply.github.com>2020-11-24 03:46:14 +0100
committerGitHub <noreply@github.com>2020-11-23 20:46:14 -0600
commitfd07decd27b88748c7c9e99fc165c57c463649ce (patch)
tree929b82137f803f93a9d0c3c758a75622591e599a
parentaa8dd782cd222dd9e62c657186f1ea54c6157bc5 (diff)
downloadspack-fd07decd27b88748c7c9e99fc165c57c463649ce.tar.gz
spack-fd07decd27b88748c7c9e99fc165c57c463649ce.tar.bz2
spack-fd07decd27b88748c7c9e99fc165c57c463649ce.tar.xz
spack-fd07decd27b88748c7c9e99fc165c57c463649ce.zip
Also build static library (#20016)
-rw-r--r--var/spack/repos/builtin/packages/expat/package.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/expat/package.py b/var/spack/repos/builtin/packages/expat/package.py
index f5d9475812..36f77f4286 100644
--- a/var/spack/repos/builtin/packages/expat/package.py
+++ b/var/spack/repos/builtin/packages/expat/package.py
@@ -39,7 +39,9 @@ class Expat(AutotoolsPackage):
def configure_args(self):
spec = self.spec
- args = ['--without-docbook']
+ args = ['--without-docbook',
+ '--enable-static',
+ ]
if '+libbsd' in spec and '@2.2.1:' in spec:
args.append('--with-libbsd')
return args