$NetBSD: patch-am,v 1.2 2001/06/19 09:20:11 jlam 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${BUILDLINK_DIR}/lib ${LINKLIBS} -lpam endif ifdef STATIC