summaryrefslogtreecommitdiff
path: root/cpputools
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2011-11-26 00:32:31 +0200
committerTor Lillqvist <tml@iki.fi>2011-11-26 00:34:16 +0200
commit0b4a9bd2b49da8441d873a52ae5ec2c86937c839 (patch)
tree008beb2554fa9b4a0b00a0cd5436429e8cfa7aff /cpputools
parent649f45fdcd0bb01e087bfd1ab1056b9b02c7b7af (diff)
Compile as Objective-C++ for iOS thanks to current sal/main.h idea
Diffstat (limited to 'cpputools')
-rwxr-xr-xcpputools/source/unoexe/makefile.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/cpputools/source/unoexe/makefile.mk b/cpputools/source/unoexe/makefile.mk
index 5869f180163e..e4317b064891 100755
--- a/cpputools/source/unoexe/makefile.mk
+++ b/cpputools/source/unoexe/makefile.mk
@@ -72,6 +72,10 @@ APP1TARGET=$(TARGET)
APP1OBJS=$(DEPOBJFILES)
APP1RPATH=UREBIN
+.IF "$(OS)" == "IOS"
+CFLAGSCXX += $(OBJCXXFLAGS)
+.ENDIF
+
# Include all relevant (see ure/source/README) dynamic libraries, so that C++
# UNO components running in the uno executable have a defined environment
# (stlport, unxlngi6 libstdc++.so.6, and wntmsci10 uwinapi.dll are already