summaryrefslogtreecommitdiff
path: root/desktop/Library_deploymentmisc.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 /desktop/Library_deploymentmisc.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 'desktop/Library_deploymentmisc.mk')
-rw-r--r--desktop/Library_deploymentmisc.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/desktop/Library_deploymentmisc.mk b/desktop/Library_deploymentmisc.mk
index d4bf21128a27..abcc0e29e9c2 100644
--- a/desktop/Library_deploymentmisc.mk
+++ b/desktop/Library_deploymentmisc.mk
@@ -54,12 +54,19 @@ $(eval $(call gb_Library_add_linked_libs,deploymentmisc,\
$(gb_STDLIBS) \
))
+ifneq (,$(filter DESKTOP,$(BUILD_TYPE)))
$(eval $(call gb_Library_use_externals,deploymentmisc,\
berkeleydb \
))
+endif
+ifneq (,$(filter DESKTOP,$(BUILD_TYPE)))
$(eval $(call gb_Library_add_exception_objects,deploymentmisc,\
desktop/source/deployment/misc/db \
+))
+endif
+
+$(eval $(call gb_Library_add_exception_objects,deploymentmisc,\
desktop/source/deployment/misc/dp_dependencies \
desktop/source/deployment/misc/dp_descriptioninfoset \
desktop/source/deployment/misc/dp_identifier \