From 671e67dfc24205a133dbbaf87bc7be9f3af56b3a Mon Sep 17 00:00:00 2001 From: Jon Nermut Date: Wed, 24 Jan 2018 22:00:52 +1100 Subject: 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 Tested-by: jan iversen --- ios/CustomTarget_iOS_link.mk | 1 + 1 file changed, 1 insertion(+) (limited to 'ios/CustomTarget_iOS_link.mk') 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 \ -- cgit v1.2.3