summaryrefslogtreecommitdiff
path: root/external/openldap
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@collabora.com>2022-04-29 15:50:22 +0200
committerLuboš Luňák <l.lunak@collabora.com>2022-05-01 05:47:22 +0200
commit1ffd6897ddf15624e70585ab08e8af713114c938 (patch)
tree8ccc6deb8d62d3c19ae2d90c70fb7bef7d0f57b1 /external/openldap
parent339fbb7bc30f227b9d4c9b9eea03b25f49533dee (diff)
try to use also proper debug LDFLAGS for externals libraries
This is basically ea68de2968c0dbcd8e7549435e829db06795c16d but for LDFLAGS. A number of external libs cannot use this because their libtool mishandles -fuse-ld. Change-Id: Idee379eb0a3afb475b536519ee3de064b4e218f4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133639 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'external/openldap')
-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 d5e1189cdef3..5f85fb323056 100644
--- a/external/openldap/ExternalProject_openldap.mk
+++ b/external/openldap/ExternalProject_openldap.mk
@@ -24,7 +24,7 @@ ifeq ($(OS),LINUX) # i.e., assuming glibc
openldap_CFLAGS = -D_XOPEN_SOURCE=500 -D_DEFAULT_SOURCE -D_BSD_SOURCE
endif
-openldap_LDFLAGS =
+openldap_LDFLAGS = $(call gb_ExternalProject_get_link_flags,openldap)
ifeq ($(SYSTEM_NSS),)
openldap_LDFLAGS += -L$(call gb_UnpackedTarball_get_dir,nss)/dist/out/lib \
$(if $(filter AIX,$(OS)),-Wl$(COMMA)-brtl)