Also build static library (#20016)

This commit is contained in:
Martin Oberzalek 2020-11-24 03:46:14 +01:00 committed by GitHub
parent aa8dd782cd
commit fd07decd27
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -39,7 +39,9 @@ def url_for_version(self, version):
def configure_args(self): def configure_args(self):
spec = self.spec spec = self.spec
args = ['--without-docbook'] args = ['--without-docbook',
'--enable-static',
]
if '+libbsd' in spec and '@2.2.1:' in spec: if '+libbsd' in spec and '@2.2.1:' in spec:
args.append('--with-libbsd') args.append('--with-libbsd')
return args return args