summaryrefslogtreecommitdiff
path: root/RepositoryExternal.mk
diff options
context:
space:
mode:
Diffstat (limited to 'RepositoryExternal.mk')
-rw-r--r--RepositoryExternal.mk8
1 files changed, 7 insertions, 1 deletions
diff --git a/RepositoryExternal.mk b/RepositoryExternal.mk
index 84e368a3acfb..67869be72f18 100644
--- a/RepositoryExternal.mk
+++ b/RepositoryExternal.mk
@@ -1290,8 +1290,14 @@ $(call gb_LinkTarget_use_external,$(1),openssl)
$(call gb_LinkTarget_use_libraries,$(1),\
secur32 \
ws2_32 \
- $(if $(filter YES,$(WITH_LDAP)),ldap50) \
)
+
+ifeq ($(WITH_LDAP),YES)
+$(call gb_LinkTarget_add_libs,$(1),\
+ nsldap32v50.lib \
+)
+endif
+
endif
endef