summaryrefslogtreecommitdiff
path: root/sal/util/makefile.mk
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
commit7df58d507d824944944cd6de863da91c18fd5d49 (patch)
treed56fbb73b47eea19b83529465c168c926a689bf7 /sal/util/makefile.mk
parent981ecf839bebe7913fc6ed053e657d40db387ebb (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/util/makefile.mk')
-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 8896768af016..4ac937948594 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)" != ""