summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2005-06-17 08:32:21 +0000
committerOliver Bolte <obo@openoffice.org>2005-06-17 08:32:21 +0000
commit60df67a8845ad28c3831ae7d00bbfcbd97e3fa1a (patch)
treeb85a884bdfee28c28ea563e8099e1c5816d6761b /sal
parent732a449b36839acff4644760610ef49d280d6f1f (diff)
INTEGRATION: CWS moresystemstuff2 (1.35.54); FILE MERGED
2005/04/01 10:21:40 rene 1.35.54.1: #i46467# add more system stuff and options to link against pam/crypt/xrender
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)" != ""