]> git.sur5r.net Git - openldap/commitdiff
Fix dynamic link dependencies for NT and Unix
authorHoward Chu <hyc@openldap.org>
Thu, 11 May 2000 09:47:15 +0000 (09:47 +0000)
committerHoward Chu <hyc@openldap.org>
Thu, 11 May 2000 09:47:15 +0000 (09:47 +0000)
libraries/libldap/Makefile.in

index 52e88b82da4bae9bc110be03fac1922f89f7eee4..c1ea785a54b9a6e29478ff3f6b6e47c94925750f 100644 (file)
@@ -35,16 +35,18 @@ LDAP_LIBDIR= ../../libraries
 
 XLIBS = -lldap -llber -llutil
 XXLIBS = $(SECURITY_LIBS) $(TLS_LIBS)
-UNIX_XXLIBS = $(XXLIBS)
 
 LINKAGE = @LT_LIB_LINKAGE@
 
-NT_DYN_LIB_LIBS  = -llber $(AC_LIBS)
+NT_DYN_LIB_LIBS  = -llber -llutil $(AC_LIBS)
 NT_DYN_LIB_DEFS  = -DLIBLBER_DECL=dllimport
 NT_DYN_TEST_DEFS = -DLIBLBER_DECL=dllimport -DLIBLDAP_DECL=dllimport
 
 NT_XXLIBS = $(SECURITY_LIBS)
 
+UNIX_DYN_LIB_LIBS  = -llber $(AC_LIBS)
+UNIX_XXLIBS = $(SECURITY_LIBS)
+
 # Extras for building the library
 EXTRA_DEFS = $(@PLAT@_@LIB_LINKAGE@_LIB_DEFS)
 EXTRA_LIBS = $(@PLAT@_@LIB_LINKAGE@_LIB_LIBS) $(@PLAT@_XXLIBS)