Date: Sat, 24 May 2003 09:52:05 -0700 (PDT) From: Dag-Erling Smorgrav <des@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 31784 for review Message-ID: <200305241652.h4OGq5HE084604@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=31784 Change 31784 by des@des.at.des.thinksec.com on 2003/05/24 09:51:33 Allow libpam to build on Linux. Affected files ... .. //depot/projects/openpam/lib/Makefile#19 edit Differences ... ==== //depot/projects/openpam/lib/Makefile#19 (text+ko) ==== @@ -31,7 +31,7 @@ # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF # SUCH DAMAGE. # -# $P4: //depot/projects/openpam/lib/Makefile#18 $ +# $P4: //depot/projects/openpam/lib/Makefile#19 $ # LIB = pam @@ -41,6 +41,11 @@ CFLAGS += -I${.CURDIR}/../include CFLAGS += -DLIB_MAJ=${SHLIB_MAJOR} +OSNAME != uname -s +.if ${OSNAME} == "Linux" +LDADD += -ldl +.endif + SRCS = SRCS += openpam_borrow_cred.c SRCS += openpam_configure.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200305241652.h4OGq5HE084604>