From 1f30e425ed52f01402f07b95fc948d9d5f17b588 Mon Sep 17 00:00:00 2001
From: Quanah Gibson-Mount <quanah@openldap.org>
Date: Fri, 2 Oct 2009 23:16:53 +0000
Subject: [PATCH] ITS#6323

---
 CHANGES                                 | 1 +
 contrib/slapd-modules/smbk5pwd/Makefile | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/CHANGES b/CHANGES
index 8591687b22..3002c1de95 100644
--- a/CHANGES
+++ b/CHANGES
@@ -14,6 +14,7 @@ OpenLDAP 2.4.19 Release (2009/10/03)
 	Fixed slapo-sssvlv sort control dereferencing (ITS#6288)
 	Fixed contrib/autogroup segfaults (ITS#6279)
 	Fixed contrib/nssov getgroupbymembers (ITS#6291)
+	Fixed contrib/smbk5pwd rpath linking (ITS#6323)
 	Build Environment
 		Fixed --enable-deref support (ITS#6311)
 		Fixed contrib/autogroup default libtool path (ITS#6284)
diff --git a/contrib/slapd-modules/smbk5pwd/Makefile b/contrib/slapd-modules/smbk5pwd/Makefile
index 67c056a27c..14e0c5350d 100644
--- a/contrib/slapd-modules/smbk5pwd/Makefile
+++ b/contrib/slapd-modules/smbk5pwd/Makefile
@@ -45,7 +45,7 @@ smbk5pwd.lo:	smbk5pwd.c
 
 smbk5pwd.la:	smbk5pwd.lo
 	$(LIBTOOL) --mode=link $(CC) $(OPT) -version-info 0:0:0 \
-	-rpath $(libdir) -module -o $@ $? $(LIBS)
+	-rpath $(moduledir) -module -o $@ $? $(LIBS)
 
 clean:
 	rm -f smbk5pwd.lo smbk5pwd.la
-- 
GitLab