From: Howard Chu Date: Sun, 26 Dec 1999 00:11:14 +0000 (+0000) Subject: NT requires $(SECURITY_LIBS) at link time. X-Git-Tag: UCDATA_2_4~59 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d92d403a76046c8c59f7b21d839d4ea4c0f239ab;p=openldap NT requires $(SECURITY_LIBS) at link time. --- diff --git a/libraries/libldap/Makefile.in b/libraries/libldap/Makefile.in index c52c31ddb7..764c29346e 100644 --- a/libraries/libldap/Makefile.in +++ b/libraries/libldap/Makefile.in @@ -40,9 +40,11 @@ NT_DYN_LIB_LIBS = -llber $(AC_LIBS) NT_DYN_LIB_DEFS = -DLIBLBER_DECL=dllimport NT_DYN_TEST_DEFS = -DLIBLBER_DECL=dllimport -DLIBLDAP_DECL=dllimport +NT_XXLIBS = $(SECURITY_LIBS) + # Extras for building the library EXTRA_DEFS = $(@PLAT@_@LIB_LINKAGE@_LIB_DEFS) -EXTRA_LIBS = $(@PLAT@_@LIB_LINKAGE@_LIB_LIBS) +EXTRA_LIBS = $(@PLAT@_@LIB_LINKAGE@_LIB_LIBS) $(@PLAT@_XXLIBS) # Only the test programs will pick up these defs. CPPFLAGS = $(@PLAT@_@LIB_LINKAGE@_TEST_DEFS) diff --git a/libraries/libldap_r/Makefile.in b/libraries/libldap_r/Makefile.in index 88b2959da1..7f66bac8d9 100644 --- a/libraries/libldap_r/Makefile.in +++ b/libraries/libldap_r/Makefile.in @@ -45,9 +45,11 @@ NT_DYN_LIB_LIBS = -llber $(AC_LIBS) NT_DYN_LIB_DEFS = -DLIBLBER_DECL=dllimport NT_DYN_TEST_DEFS = -DLIBLBER_DECL=dllimport -DLIBLDAP_DECL=dllimport +NT_XXLIBS = $(SECURITY_LIBS) + # Extras for building the library EXTRA_DEFS = $(@PLAT@_@LIB_LINKAGE@_LIB_DEFS) -EXTRA_LIBS = $(@PLAT@_@LIB_LINKAGE@_LIB_LIBS) +EXTRA_LIBS = $(@PLAT@_@LIB_LINKAGE@_LIB_LIBS) $(@PLAT@_XXLIBS) # Only the test programs will pick up these defs. CPPFLAGS = $(@PLAT@_@LIB_LINKAGE@_TEST_DEFS)