summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
Diffstat (limited to 'sal')
-rw-r--r--sal/util/makefile.mk13
1 files changed, 11 insertions, 2 deletions
diff --git a/sal/util/makefile.mk b/sal/util/makefile.mk
index 8896768af..4ac937948 100644
--- a/sal/util/makefile.mk
+++ b/sal/util/makefile.mk
@@ -2,9 +2,9 @@
#
# $RCSfile: makefile.mk,v $
#
-# $Revision: 1.35 $
+# $Revision: 1.36 $
#
-# last change: $Author: pjunck $ $Date: 2004-11-03 09:16:28 $
+# last change: $Author: obo $ $Date: 2005-06-17 09:32:21 $
#
# The Contents of this file are made available subject to the terms of
# either of the following licenses
@@ -178,6 +178,15 @@ SHL1STDLIBS+=-lstlport_gcc
SHL1STDLIBS+=-framework CoreFoundation
.ENDIF
+.IF "$(OS)" == "LINUX"
+.IF "$(PAM_LINK)" == "YES"
+SHL1STDLIBS+=-lpam
+.ENDIF
+.IF "$(CRYPT_LINK)" == "YES"
+SHL1STDLIBS+=-lcrypt
+.ENDIF
+.ENDIF
+
SHL1LIBS+=$(SLB)$/$(TARGET).lib
.IF "$(linkinc)" != ""