From d92d403a76046c8c59f7b21d839d4ea4c0f239ab Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Sun, 26 Dec 1999 00:11:14 +0000 Subject: [PATCH] NT requires $(SECURITY_LIBS) at link time. --- libraries/libldap/Makefile.in | 4 +++- libraries/libldap_r/Makefile.in | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) 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) -- 2.39.5