summaryrefslogtreecommitdiff
path: root/ios/CustomTarget_iOS_link.mk
diff options
context:
space:
mode:
authorJon Nermut <jon.nermut@gmail.com>2018-01-24 22:00:52 +1100
committerjan iversen <jani@libreoffice.org>2018-01-30 08:51:39 +0100
commit671e67dfc24205a133dbbaf87bc7be9f3af56b3a (patch)
tree652e745616226a5ca04584094ed5c220cddd6574 /ios/CustomTarget_iOS_link.mk
parentfd7ca0db5c2d5d1580d76c9536828a024543ea53 (diff)
iOS: linker changes for on device
[ae490dd] iOS: add script to sym link the dylib to the right spot Adds a shell script to symlink the right dylib into the build products folder, which means we can reference libKit.dylib relative to that, rather than absolutely [ba4c072] iOS: pass in user path On device using appPath/user as the user directory causes a crash, as an app cannot write inside it's bundle. Instead, add a new param to pass the documents dir into the init. [088ad49] iOS: linker changes to run on device Change-Id: I16f5d85f3ca483df11b82108ee39c4ec461214f4 Reviewed-on: https://gerrit.libreoffice.org/48866 Reviewed-by: jan iversen <jani@libreoffice.org> Tested-by: jan iversen <jani@libreoffice.org>
Diffstat (limited to 'ios/CustomTarget_iOS_link.mk')
-rw-r--r--ios/CustomTarget_iOS_link.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/ios/CustomTarget_iOS_link.mk b/ios/CustomTarget_iOS_link.mk
index ab5ad721d8d7..ef6303a217d8 100644
--- a/ios/CustomTarget_iOS_link.mk
+++ b/ios/CustomTarget_iOS_link.mk
@@ -51,6 +51,7 @@ $(IOSKIT): $(IOSOBJ) $(IOSLIBS)
$(gb_CC) -dynamiclib \
-Xlinker -rpath -Xlinker @executable_path/Frameworks \
-Xlinker -rpath -Xlinker @loader_path/Frameworks \
+ -install_name @rpath/libKit.dylib \
-dead_strip \
-Xlinker -export_dynamic \
-Xlinker -no_deduplicate \