]> git.sur5r.net Git - openldap/commitdiff
ITS#7885 Wrong RPATH in contrib/passwd/Makefile
authorryan@nardis.ca <ryan@nardis.ca>
Fri, 27 Jun 2014 18:23:10 +0000 (18:23 +0000)
committerQuanah Gibson-Mount <quanah@openldap.org>
Tue, 22 Jul 2014 17:33:16 +0000 (12:33 -0500)
Similar to #7858, another easy patch.

contrib/slapd-modules/passwd/Makefile

index ba41304f8b75982cc155c60f25c8d9e4def8fcf7..e3def2be81ebf1cb28521aca9d01cc42fdea1efc 100644 (file)
@@ -33,19 +33,19 @@ all: $(PROGRAMS)
 
 pw-kerberos.la:        kerberos.lo
        $(LIBTOOL) --mode=link $(CC) $(OPT) -version-info $(LTVER) \
-       -rpath $(PREFIX)/lib -module -o $@ $? -lkrb5
+       -rpath $(moduledir) -module -o $@ $? -lkrb5
 
 pw-netscape.la:        netscape.lo
        $(LIBTOOL) --mode=link $(CC) $(OPT) -version-info $(LTVER) \
-       -rpath $(PREFIX)/lib -module -o $@ $? 
+       -rpath $(moduledir) -module -o $@ $?
 
 pw-radius.la:  radius.lo
        $(LIBTOOL) --mode=link $(CC) $(OPT) -version-info $(LTVER) \
-       -rpath $(PREFIX)/lib -module -o $@ $? -lradius
+       -rpath $(moduledir) -module -o $@ $? -lradius
 
 pw-apr1.la:    apr1.lo
        $(LIBTOOL) --mode=link $(CC) $(OPT) -version-info $(LTVER) \
-       -rpath $(PREFIX)/lib -module -o $@ $?
+       -rpath $(moduledir) -module -o $@ $?
 
 clean:
        rm -rf *.o *.lo *.la .libs