From e45fa7e3e7e107fb0f30e4531050332503293f22 Mon Sep 17 00:00:00 2001
From: Kurt Zeilenga <kurt@openldap.org>
Date: Mon, 8 Mar 1999 02:31:03 +0000
Subject: [PATCH] relocate LDAP_LIBPATH to front of LDFLAGS.

---
 build/top.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/build/top.mk b/build/top.mk
index 33315ba045..1be9becd84 100644
--- a/build/top.mk
+++ b/build/top.mk
@@ -125,9 +125,9 @@ SLURPD_LIBS = @SLURPD_LIBS@
 # Our Defaults
 CC = $(AC_CC)
 DEFS = $(LDAP_INCPATH) $(XINCPATH) $(XDEFS) $(AC_DEFS) $(DEFINES)
-LIBS = $(LDAP_LIBPATH) $(XLIBS) $(XXLIBS) $(AC_LIBS) $(XXXLIBS)
 CFLAGS = $(AC_CFLAGS) $(DEFS)
-LDFLAGS = $(AC_LDFLAGS) $(XLDFLAGS)
+LDFLAGS = $(LDAP_LIBPATH) $(AC_LDFLAGS) $(XLDFLAGS)
+LIBS = $(XLIBS) $(XXLIBS) $(AC_LIBS) $(XXXLIBS)
 
 all:		all-common all-local FORCE
 install:	install-common install-local FORCE
-- 
GitLab