diff options
author | Harmen Stoppels <harmenstoppels@gmail.com> | 2022-04-04 15:30:30 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-04 07:30:30 -0600 |
commit | 36c0a1eec3b5f6404ebfac5d08f7da2a09bb02c9 (patch) | |
tree | be6045b635800de31a07fa13aa806b4e5632bacf /var | |
parent | d7aac3af24370a76f52fb6a4ec0567d5ebe28411 (diff) | |
download | spack-36c0a1eec3b5f6404ebfac5d08f7da2a09bb02c9.tar.gz spack-36c0a1eec3b5f6404ebfac5d08f7da2a09bb02c9.tar.bz2 spack-36c0a1eec3b5f6404ebfac5d08f7da2a09bb02c9.tar.xz spack-36c0a1eec3b5f6404ebfac5d08f7da2a09bb02c9.zip |
curl: libs variant (#29865)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/curl/package.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/curl/package.py b/var/spack/repos/builtin/packages/curl/package.py index 240bbdb67b..46d0ca2181 100644 --- a/var/spack/repos/builtin/packages/curl/package.py +++ b/var/spack/repos/builtin/packages/curl/package.py @@ -80,6 +80,8 @@ class Curl(AutotoolsPackage): variant('librtmp', default=False, description='enable Rtmp support') variant('ldap', default=False, description='enable ldap support') variant('libidn2', default=False, description='enable libidn2 support') + variant('libs', default='shared,static', values=('shared', 'static'), + multi=True, description='Build shared libs, static libs or both') conflicts('+libssh', when='@:7.57') # on OSX and --with-ssh the configure steps fails with @@ -150,6 +152,8 @@ class Curl(AutotoolsPackage): '--without-zstd', ] + args += self.enable_or_disable('libs') + # Make gnutls / openssl decide what certs are trusted. # TODO: certs for other tls options. if spec.satisfies('tls=gnutls') or spec.satisfies('tls=openssl'): |