From 439b329c385e7064cb3f778e0af3cac88e887f13 Mon Sep 17 00:00:00 2001 From: Martin Oberzalek <62324958+moberza@users.noreply.github.com> Date: Fri, 20 Nov 2020 13:51:25 +0100 Subject: openldap: enable creation of static libraries (#20013) --- var/spack/repos/builtin/packages/openldap/package.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'var') 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', -- cgit v1.2.3-70-g09d2