summaryrefslogtreecommitdiff
path: root/solenv/inc/unxsogi.mk
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2007-12-12 12:21:46 +0000
committerKurt Zenker <kz@openoffice.org>2007-12-12 12:21:46 +0000
commit9eeda4509c35b067916adee2fbcfe5c8750b3bd8 (patch)
tree224337525ebe339d21c2e71a0832b9360ccc0e27 /solenv/inc/unxsogi.mk
parentbbc4950d03cd2a455975424ba673d1b5805da2dc (diff)
INTEGRATION: CWS configure22 (1.9.236); FILE MERGED
2007/10/15 22:46:22 rene 1.9.236.1: #i79874# STLport5 support for configure
Diffstat (limited to 'solenv/inc/unxsogi.mk')
-rw-r--r--solenv/inc/unxsogi.mk11
1 files changed, 8 insertions, 3 deletions
diff --git a/solenv/inc/unxsogi.mk b/solenv/inc/unxsogi.mk
index 3341154d62ef..1d13727118c2 100644
--- a/solenv/inc/unxsogi.mk
+++ b/solenv/inc/unxsogi.mk
@@ -4,9 +4,9 @@
#
# $RCSfile: unxsogi.mk,v $
#
-# $Revision: 1.9 $
+# $Revision: 1.10 $
#
-# last change: $Author: obo $ $Date: 2007-03-09 09:11:34 $
+# last change: $Author: kz $ $Date: 2007-12-12 13:21:46 $
#
# The Contents of this file are made available subject to
# the terms of GNU Lesser General Public License Version 2.1.
@@ -41,7 +41,7 @@ SOLAR_JAVA=TRUE
JAVAFLAGSDEBUG=-g
# _PTHREADS is needed for the stl
-CDEFS+=-D_PTHREADS -D_REENTRANT -DSYSV -DSUN -DSUN4 -D_POSIX_PTHREAD_SEMANTICS -DSTLPORT_VERSION=400 -D_USE_NAMESPACE=1
+CDEFS+=-D_PTHREADS -D_REENTRANT -DSYSV -DSUN -DSUN4 -D_POSIX_PTHREAD_SEMANTICS -DSTLPORT_VERSION=$(STLPORT_VER) -D_USE_NAMESPACE=1
.IF "$(SOLAR_JAVA)"!=""
@@ -120,8 +120,13 @@ STDSHLCUIMT=$(DYNAMIC) -lpthread -lthread -lm
STDLIBGUIMT+=-lX11
+.IF "$(STLPORT_VER)" >= "500"
+LIBSTLPORT=$(DYNAMIC) -lstlport
+LIBSTLPORTST=$(STATIC) -lstlport $(DYNAMIC)
+.ELSE
LIBSTLPORT=$(DYNAMIC) -lstlport_gcc
LIBSTLPORTST=$(STATIC) -lstlport_gcc $(DYNAMIC)
+.ENDIF
LIBMGR=ar
LIBFLAGS=-r