summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 7c320cb01129..67c2a795b6b6 100644
--- a/external/openldap/ExternalProject_openldap.mk
+++ b/external/openldap/ExternalProject_openldap.mk
@@ -46,7 +46,7 @@ $(call gb_ExternalProject_get_state_target,openldap,build) :
CPPFLAGS="-I$(call gb_UnpackedTarball_get_dir,nss)/dist/public/nss -I$(call gb_UnpackedTarball_get_dir,nss)/dist/out/include" \
CFLAGS="-I$(call gb_UnpackedTarball_get_dir,nss)/dist/public/nss -I$(call gb_UnpackedTarball_get_dir,nss)/dist/out/include" \
) \
- $(if $(openldap_LDFLAGS),LDFLAGS="$(openldap_LDFLAGS)") \
+ $(if $(openldap_LDFLAGS),LDFLAGS="$(LDFLAGS) $(openldap_LDFLAGS)") \
&& MAKEFLAGS= && $(MAKE) \
)