Allow libpam to build on Linux.

git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@226 185d5e19-27fe-0310-9dcf-9bff6b9f3609
This commit is contained in:
Dag-Erling Smørgrav 2003-05-24 18:51:33 +00:00
parent 82eec0110d
commit 3eeb089306
1 changed files with 6 additions and 1 deletions

View File

@ -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 @@ NO_WERROR = yes
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