소스 검색

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.

Rich Megginson 20 년 전
부모
커밋
0402bb5e22
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      ldap/clients/dsgw/Makefile

+ 1 - 1
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)