From 93af86ec6f083aa117c687db3d87b0f4d36a3769 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Sun, 10 Feb 2002 20:14:38 +0000 Subject: [PATCH] Need to libldap/liblber to library path to get proper linkage --- build/top.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/top.mk b/build/top.mk index 4cec1aed30..f912b9a8c6 100644 --- a/build/top.mk +++ b/build/top.mk @@ -91,7 +91,7 @@ LTFLAGS_MOD = $(@PLAT@_LTFLAGS_MOD) LINK_LIBS = $(@PLAT@_LINK_LIBS) LTLINK = $(LIBTOOL) --mode=link \ - $(CC) $(LT_CFLAGS) $(LDFLAGS) $(LTFLAGS) + $(CC) $(LT_CFLAGS) -static $(LDFLAGS) $(LTFLAGS) LTCOMPILE_LIB = $(LIBTOOL) $(LTONLY_LIB) --mode=compile \ $(CC) $(LT_CFLAGS) $(LT_CPPFLAGS) $(LIB_DEFS) -c @@ -140,7 +140,7 @@ MANCOMPRESSSUFFIX= INCLUDEDIR= $(top_srcdir)/include LDAP_INCPATH= -I$(LDAP_INCDIR) -I$(INCLUDEDIR) LDAP_LIBADIR= $(top_builddir)/libraries -LDAP_LIBPATH= -L$(LDAP_LIBADIR) +LDAP_LIBPATH= -L$(LDAP_LIBADIR)/libldap -L$(LDAP_LIBADIR)/liblber -L$(LDAP_LIBADIR) LUTIL_LIBS = @LUTIL_LIBS@ LDIF_LIBS = @LDIF_LIBS@ -- 2.39.5