Date: Mon, 21 Jul 2003 04:42:12 -0400 (EDT) From: "Ilmar S. Habibulin" <ilmar@watson.org> To: freebsd-hackers@freebsd.org Subject: How to use functions from libs in /usr/local/lib in pam? Message-ID: <20030721043657.X96418@fledge.watson.org> In-Reply-To: <20030721071842.GC58121@cobweb.example.org> References: <20030721071842.GC58121@cobweb.example.org>
next in thread | previous in thread | raw e-mail | index | archive | help
I'm trying to write pam module, which uses libs from /usr/local/lib (lber and lsap). What should i put in Makefile in order to link module with this libs? LIBLDAP= /usr/local/lib/ldap.a LDADD+= -L/usr/local/lib -lldap LDFLAGS += -L/usr/local/lib -lldap DPADD= ${LIBCRYPT} ${LIBLDAP} doesn't help. Thanks in advance.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030721043657.X96418>