openldap: enable creation of static libraries (#20013)

This commit is contained in:
Martin Oberzalek
2020-11-20 13:51:25 +01:00
committed by GitHub
parent f613e10f24
commit 439b329c38

View File

@@ -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 @@ def configure_args(self):
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',