summaryrefslogtreecommitdiffstats
path: root/solenv/inc
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2011-07-01 01:02:08 +0300
committerTor Lillqvist <tml@iki.fi>2011-07-01 01:02:55 +0300
commitabc8bcf6d6eeaaf1d49ed04027d16e552d4e07a8 (patch)
tree544c1f28673d0ebf18f486898288264482a1a5fc /solenv/inc
parentRequire proper CC and CXX environment variables, don't hardcode SDK path (diff)
downloadcore-abc8bcf6d6eeaaf1d49ed04027d16e552d4e07a8.tar.gz
core-abc8bcf6d6eeaaf1d49ed04027d16e552d4e07a8.zip
Some library hacks for iOS
Diffstat (limited to 'solenv/inc')
-rw-r--r--solenv/inc/libs.mk18
1 files changed, 18 insertions, 0 deletions
diff --git a/solenv/inc/libs.mk b/solenv/inc/libs.mk
index d9db57371381..13c9c7415a9d 100644
--- a/solenv/inc/libs.mk
+++ b/solenv/inc/libs.mk
@@ -310,6 +310,24 @@ UNOPKGAPPLIB=-lunopkgapp
TESTLIB=-ltest
XMLREADERLIB=-lxmlreader
+.IF "$(OS)" == "IOS"
+
+# As we build static libraries for iOS, we append to each library its
+# dependencies, recursively. Start from the bottom of the dependency
+# stack. This is experimental and obviously incomplete.
+
+UCBHELPERLIB+=$(SALHELPERLIB)
+
+UNOTOOLSLIB+=$(I18NISOLANGLIB)
+UNOTOOLSLIB+=$(UCBHELPERLIB)
+
+TOOLSLIB+=$(BASEGFXLIB)
+TOOLSLIB+=$(ZLIB3RDLIB)
+
+VCLLIB+=$(ICUUCLIB)
+
+.ENDIF
+
.ELSE # ("$(GUI)"=="UNX" || "$(COM)"=="GCC")
ODMA_LIB_LIB=odma_lib.lib