summaryrefslogtreecommitdiff
path: root/external/openldap/ExternalProject_openldap.mk
diff options
context:
space:
mode:
Diffstat (limited to 'external/openldap/ExternalProject_openldap.mk')
-rw-r--r--external/openldap/ExternalProject_openldap.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/external/openldap/ExternalProject_openldap.mk b/external/openldap/ExternalProject_openldap.mk
index 10de51fbfe42..022dc0ac149f 100644
--- a/external/openldap/ExternalProject_openldap.mk
+++ b/external/openldap/ExternalProject_openldap.mk
@@ -29,7 +29,7 @@ $(call gb_ExternalProject_get_state_target,openldap,build) :
--with-yielding_select=yes \
ac_cv_func_memcmp_working=yes \
) \
- $(if $(filter YES,$(SYSTEM_NSS)), \
+ $(if $(SYSTEM_NSS), \
CPPFLAGS="$(NSS_CFLAGS)" CFLAGS="$(NSS_CFLAGS)" LDFLAGS="$(NSS_LIBS)" \
, \
CPPFLAGS="-I$(call gb_UnpackedTarball_get_dir,nss)/dist/public/nss -I$(call gb_UnpackedTarball_get_dir,nss)/dist/out/include" \