summaryrefslogtreecommitdiff
path: root/ios
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2013-03-03 22:04:59 +0200
committerTor Lillqvist <tml@iki.fi>2013-03-03 22:05:19 +0200
commit874a1bf1748dd0246a00e2a3cd4724f852e71a52 (patch)
tree180b2870be41135223d086fc9269f18a59b6dd5f /ios
parent9058681a8d4f52db18f094994b231e719e9bb6eb (diff)
The AllModulesButInstsetNative thing didn't work
Change-Id: I323d1983238297b094fa0aa7776d03977d3d39e0
Diffstat (limited to 'ios')
-rw-r--r--ios/Executable_Viewer.mk12
1 files changed, 11 insertions, 1 deletions
diff --git a/ios/Executable_Viewer.mk b/ios/Executable_Viewer.mk
index bd462d54ed51..c3a29cbbb2d0 100644
--- a/ios/Executable_Viewer.mk
+++ b/ios/Executable_Viewer.mk
@@ -27,6 +27,16 @@ $(eval $(call gb_Executable_add_objcxxobjects,Viewer,\
ios/experimental/Viewer/Viewer/main \
))
-$(call gb_Executable_get_target,Viewer) : $(call gb_Postprocess_get_target,AllModulesButInstsetNative)
+# The executables built for iOS link to all LO libs statically. The
+# link command just uses the wildcard function to list all of them.
+# Instead of tediously here declare dependencies on the transitive
+# closure of those from which some object ends up being linked in, we
+# list a few libraries that are high in the dependency forest to make
+# it likely that all necessary libraries are built before this
+# executable is.
+$(eval $(call gb_Executable_use_libraries,Viewer,\
+ msword \
+ scfilt \
+))
# vim: set ts=4 sw=4 et: