summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRich Megginson <rmeggins@redhat.com>2006-02-25 03:17:14 +0000
committerRich Megginson <rmeggins@redhat.com>2006-02-25 03:17:14 +0000
commit0402bb5e22f9c422ce2942d0c07735aee76fe1f4 (patch)
tree85d42bd453b583140f85f1d52df8454e58f68bd4
parentb036f9d942340a133cc54f44f037bb17fcf733e1 (diff)
downloadds-0402bb5e22f9c422ce2942d0c07735aee76fe1f4.tar.gz
ds-0402bb5e22f9c422ce2942d0c07735aee76fe1f4.tar.xz
ds-0402bb5e22f9c422ce2942d0c07735aee76fe1f4.zip
Some DSGW programs must not be linked with SSL, including the LDAP ssl library. On RHEL3, this causes a linker error, but appears to be fine on other platforms. So, just use the LDAP_NOSSL_LINK macro for those programs, and use the LDAPLINK macro for the other programs.
-rw-r--r--ldap/clients/dsgw/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/ldap/clients/dsgw/Makefile b/ldap/clients/dsgw/Makefile
index 6f5cb10a..659632b7 100644
--- a/ldap/clients/dsgw/Makefile
+++ b/ldap/clients/dsgw/Makefile
@@ -148,7 +148,7 @@ LIBS := $(DISTLIBFLAG) $(LINKOPTIONS) $(LIBLDAPU) $(LDAPLINK) \
LIBS_DEP = $(LIBLDAPU_DEP) $(LDAP_LIBLDBM_DEP) $(LDAP_LIBLDIF_DEP)
LIBS_DEP += $(LDAPSDK_DEP) $(ICU_DEP) $(NSPR_DEP) $(DB_LIB_DEP)
NSECLIBS = $(DISTLIBFLAG) $(SSLLIBFLAG) $(LINKOPTIONS) $(LIBLDAPU) \
- $(LDAPLINK) $(ADMINUTIL_LINK) \
+ $(LDAP_NOSSL_LINK) $(ADMINUTIL_LINK) \
$(LDAP_LIBLDBM) $(ICULINK) $(NOSSLLIBS) \
$(LDAP_LIBLDIF) $(DBMLINK) $(ALIBS) \
$(THREADSLIB) $(NSPRLINK) $(LDAP_LIBLITEKEY)