diff options
author | Rich Megginson <rmeggins@redhat.com> | 2005-03-11 03:55:33 +0000 |
---|---|---|
committer | Rich Megginson <rmeggins@redhat.com> | 2005-03-11 03:55:33 +0000 |
commit | 1ad31fcefd33dd67c3c551033603e4748046afd9 (patch) | |
tree | 5faee0bb8e9883881d2a51cf1cf8a5dda24718e0 /ldap/admin/lib | |
parent | 99e636a0e44c874473e8e0f07e3dcf0dbeaa88f0 (diff) | |
download | ds-1ad31fcefd33dd67c3c551033603e4748046afd9.tar.gz ds-1ad31fcefd33dd67c3c551033603e4748046afd9.tar.xz ds-1ad31fcefd33dd67c3c551033603e4748046afd9.zip |
add link debugging for debug builds on linux
Diffstat (limited to 'ldap/admin/lib')
-rw-r--r-- | ldap/admin/lib/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ldap/admin/lib/Makefile b/ldap/admin/lib/Makefile index a7c35ced..68b02bc7 100644 --- a/ldap/admin/lib/Makefile +++ b/ldap/admin/lib/Makefile @@ -78,6 +78,13 @@ LINK_DLL += -z defs EXTRA_LIBS += -lc endif +ifneq ($(BUILD_DEBUG), optimize) +ifeq ($(ARCH), Linux) +LINK_DLL += -Wl,--no-allow-shlib-undefined +EXTRA_LIBS += -lc -lpthread -ldl /lib/ld-linux.so.2 +endif +endif + all: $(LIBS) $(LDAP_ADMDLL_RELDLLS) $(LIBS): $(OBJDEST) $(LDAP_ADMDLLDIR) $(LDAP_ADMLIBDIR) $(OBJS) $(EXTRA_LIBS_DEP) |