summaryrefslogtreecommitdiff
path: root/Library_merged.mk
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@suse.com>2012-01-16 16:42:51 +0200
committerTor Lillqvist <tlillqvist@suse.com>2012-01-16 16:53:49 +0200
commit081d76c3faa9f242e70f94a253d334e29b7e6595 (patch)
treea45bb8f581b1efcf187ad2cefd51eebb9fad251e /Library_merged.mk
parent6c1852c5526a947f2fb6007dc6a85da588e04b61 (diff)
Attempt to manage without Berkeley DB on iOS and Android
Berkeley DB is used for help index and extension database. (Possibly only for a backward-compatible format of the latter, I am not sure.) Neither use makes much sense on Android and iOS. The existing help is for LO on desktop OSes anyway, help for LO-based apps on iOS and Android will naturally be quite different. On iOS there will definitely be no "extensions", and probably we don't want to bother with such on Android either.
Diffstat (limited to 'Library_merged.mk')
-rw-r--r--Library_merged.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/Library_merged.mk b/Library_merged.mk
index 9fe9c2d012ff..b2e49b067d96 100644
--- a/Library_merged.mk
+++ b/Library_merged.mk
@@ -49,11 +49,16 @@ $(eval $(call gb_Library_add_linked_libs,merged,\
))
$(eval $(call gb_Library_use_externals,merged,\
- berkeleydb \
icuuc \
zlib \
))
+ifneq (,$(filter DESKTOP,$(BUILD_TYPE)))
+$(eval $(call gb_Library_use_externals,merged,\
+ berkeleydb \
+))
+endif
+
# gb_MERGEDLIBS is defined in solenv/gbuild/extensions/pre_MergedLibsList.mk
$(eval $(call gb_Library_add_library_objects,merged,\
$(gb_MERGEDLIBS) \