summaryrefslogtreecommitdiff
path: root/security/PAM/patches/patch-am
blob: cab31000edb11ff4512afda5e84ca1a6fcd0f272 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-am,v 1.1.1.1 2000/10/21 18:41:54 rh Exp $

--- modules/pam_mkhomedir/Makefile.orig	Sat Oct 21 12:44:27 2000
+++ modules/pam_mkhomedir/Makefile
@@ -61,7 +61,7 @@
 $(LIBOBJD): $(LIBSRC)
 
 $(LIBSHARED):	$(LIBOBJD)
-		$(LD_D) -o $@ $(LIBOBJD) $(LINKLIBS) -lpam
+		${LD_D} -o $@ ${LIBOBJD} -R${PREFIX}/lib -L../../libpam -L${PREFIX}/lib ${LINKLIBS} -lpam
 endif
 
 ifdef STATIC