summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorMartin Oberzalek <62324958+moberza@users.noreply.github.com>2020-11-20 13:51:25 +0100
committerGitHub <noreply@github.com>2020-11-20 13:51:25 +0100
commit439b329c385e7064cb3f778e0af3cac88e887f13 (patch)
treed24785603434c62a5dab0faff16e67d891feacee /var
parentf613e10f247eb3f1261f76f97787708501b39d08 (diff)
downloadspack-439b329c385e7064cb3f778e0af3cac88e887f13.tar.gz
spack-439b329c385e7064cb3f778e0af3cac88e887f13.tar.bz2
spack-439b329c385e7064cb3f778e0af3cac88e887f13.tar.xz
spack-439b329c385e7064cb3f778e0af3cac88e887f13.zip
openldap: enable creation of static libraries (#20013)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/openldap/package.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/openldap/package.py b/var/spack/repos/builtin/packages/openldap/package.py
index 89d190ae27..6c7c6a79db 100644
--- a/var/spack/repos/builtin/packages/openldap/package.py
+++ b/var/spack/repos/builtin/packages/openldap/package.py
@@ -47,7 +47,7 @@ class Openldap(AutotoolsPackage):
@when('+client_only')
def configure_args(self):
return ['CPPFLAGS=-D_GNU_SOURCE',
- '--disable-static',
+ '--enable-static',
'--enable-dynamic',
'--disable-debug',
'--disable-slapd',
@@ -57,7 +57,7 @@ class Openldap(AutotoolsPackage):
def configure_args(self):
# Ref: https://www.openldap.org/lists/openldap-technical/201009/msg00304.html
args = ['CPPFLAGS=-D_GNU_SOURCE', # fixes a build error, see Ref above
- '--disable-static',
+ '--enable-static',
'--disable-debug',
'--with-cyrus-sasl',
'--enable-dynamic',