summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2019-05-28 11:48:00 +0300
committerTor Lillqvist <tml@collabora.com>2019-09-20 14:11:22 +0200
commitff20cc5e1e545b1ec70ac9eb85d062449f949a5a (patch)
tree64fde6ccc27cf57f2aab4088820186a3521d3ae2
parenttdf#124752: Add system clipboard interface for iOS (diff)
downloadcore-ff20cc5e1e545b1ec70ac9eb85d062449f949a5a.tar.gz
core-ff20cc5e1e545b1ec70ac9eb85d062449f949a5a.zip
Fix build breakage when no localisations are present in an iOS build
Change-Id: I129bbd9a4c4ed7949fd81a06ebbcfbb6b5d01094 Reviewed-on: https://gerrit.libreoffice.org/79229 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
-rw-r--r--ios/CustomTarget_iOS_setup.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/ios/CustomTarget_iOS_setup.mk b/ios/CustomTarget_iOS_setup.mk
index 3032b957f7b5..b7bd29d20859 100644
--- a/ios/CustomTarget_iOS_setup.mk
+++ b/ios/CustomTarget_iOS_setup.mk
@@ -56,7 +56,7 @@ $(IOSGEN)/native-code.h: $(BUILDDIR)/config_host.mk \
cp $(INSTDIR)/program/types/oovbaapi.rdb $(IOSRES)
cp $(INSTDIR)/program/services/services.rdb $(IOSRES)/services
cp $(INSTDIR)/program/services.rdb $(IOSRES)
- cp -R $(INSTDIR)/program/resource $(IOSRES)/program
+ -[ -d $(INSTDIR)/program/resource ] && cp -R $(INSTDIR)/program/resource $(IOSRES)/program
mkdir -p $(IOSRES)/share/config
cp -R $(INSTDIR)/share/config/soffice.cfg $(IOSRES)/share/config
cp $(INSTDIR)/share/filter/oox-drawingml-adj-names $(IOSRES)/share/filter