]> git.sur5r.net Git - openldap/commitdiff
ITS#6238
authorQuanah Gibson-Mount <quanah@openldap.org>
Thu, 24 Mar 2011 18:13:52 +0000 (18:13 +0000)
committerQuanah Gibson-Mount <quanah@openldap.org>
Thu, 24 Mar 2011 18:13:52 +0000 (18:13 +0000)
CHANGES
contrib/slapd-modules/lastbind/Makefile

diff --git a/CHANGES b/CHANGES
index de5c23143eaad20f3eef99e08074459e057e0283..7200a1e599434cfa30c1517ebf36e58498712fc0 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -13,6 +13,7 @@ OpenLDAP 2.4.25 Engineering
        Fixed slapd-ldap chain with slapd.conf (ITS#6857)
        Fixed slapd-meta deadlock (ITS#6846)
        Fixed slapo-sssvlv with multiple requests (ITS#6850)
+       Fixed contrib/lastbind install rules (ITS#6238)
        Build Environment
                Fixed windows NT threads build (ITS#6859)
                Fixed libldap/lberl/util if/else usage (ITS#6832)
index 6386f350aa94bd1001e5d46da19c7949ac9328f5..e0f1b3e542b5fcd5dcf1f5fcbcfa824c078a3b07 100644 (file)
@@ -15,6 +15,7 @@ CPPFLAGS+=-DSLAPD_OVER_LASTBIND=SLAPD_MOD_DYNAMIC
 #LIBTOOL=libtool
 LIBTOOL=../../../libtool
 
+prefix=/usr/local
 
 all: lastbind.la
 
@@ -23,7 +24,11 @@ lastbind.lo:    lastbind.c
 
 lastbind.la:    lastbind.lo
        $(LIBTOOL) --mode=link $(CC) -version-info 0:0:0 \
-                  -rpath $(PREFIX)/lib -module -o $@ $?
+                  -rpath $(prefix)/lib -module -o $@ $?
 
 clean:
        rm -rf lastbind.lo lastbind.la lastbind.o .libs/
+
+install: lastbind.la
+       mkdir -p $(prefix)/libexec/openldap
+       $(LIBTOOL) --mode=onstall cp lastbind.la $(prefix)/libexec/openldap