From fd07decd27b88748c7c9e99fc165c57c463649ce Mon Sep 17 00:00:00 2001 From: Martin Oberzalek <62324958+moberza@users.noreply.github.com> Date: Tue, 24 Nov 2020 03:46:14 +0100 Subject: [PATCH] Also build static library (#20016) --- var/spack/repos/builtin/packages/expat/package.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 @@ def url_for_version(self, version): 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