summaryrefslogtreecommitdiff
path: root/openldap
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-04-18 13:48:14 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-04-18 13:48:14 +0100
commit4cd5cc515bbc8f2f1c01be60bb37ea897420c8d0 (patch)
treec278826658201794094f4e32aee197642f05cdc3 /openldap
parent3d6424a752902bba513102834966868f609d91e6 (diff)
get openldap to link to .so under AIX with gcc
Change-Id: I8f1315320b041828b24ad2604f6e961e65ea417e
Diffstat (limited to 'openldap')
-rw-r--r--openldap/ExternalProject_openldap.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/openldap/ExternalProject_openldap.mk b/openldap/ExternalProject_openldap.mk
index 88d49dcfaa29..396841fab446 100644
--- a/openldap/ExternalProject_openldap.mk
+++ b/openldap/ExternalProject_openldap.mk
@@ -36,7 +36,7 @@ $(call gb_ExternalProject_get_state_target,openldap,build) :
, \
CPPFLAGS="-I$(call gb_UnpackedTarball_get_dir,nss)/mozilla/dist/public/nss -I$(call gb_UnpackedTarball_get_dir,nss)/mozilla/dist/out/include" \
CFLAGS="-I$(call gb_UnpackedTarball_get_dir,nss)/mozilla/dist/public/nss -I$(call gb_UnpackedTarball_get_dir,nss)/mozilla/dist/out/include" \
- LDFLAGS="-L$(OUTDIR)/lib" \
+ LDFLAGS="-L$(OUTDIR)/lib $(if $(filter AIX,$(OS)),-Wl$(COMMA)-brtl)" \
) \
&& MAKEFLAGS= && $(MAKE) \
)