diff options
-rw-r--r-- | var/spack/repos/builtin/packages/expat/package.py | 4 |
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 |