From 0b4a9bd2b49da8441d873a52ae5ec2c86937c839 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Sat, 26 Nov 2011 00:32:31 +0200 Subject: Compile as Objective-C++ for iOS thanks to current sal/main.h idea --- cpputools/source/unoexe/makefile.mk | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'cpputools') 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 -- cgit v1.2.3