summaryrefslogtreecommitdiff
path: root/sc/Library_sc.mk
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-04-17 22:09:44 +0300
committerTor Lillqvist <tml@collabora.com>2014-04-17 22:18:02 +0300
commit262aa2c2e540c803196d53779fb72226a8efeb5f (patch)
tree6e27c452faa73094b0590f493945b55ab3483f18 /sc/Library_sc.mk
parentf5ccbfdc561c68099872d1abe07ac72fcddedd35 (diff)
More generic way to disable avmedia
Introduce a configure option --disable-avmedia. For non-desktop, avmedia is always disabled (for now), and for desktop enabled by default. Add AVMEDIA to BUILD_TYPE when enabled. Don't build avmedia when disabled. Add HAVE_FEATURE_AVMEDIA to <config_features.h>. Bypass avmedia-related code when disabled. Change-Id: I919c6e199bff87d9f142d55dff6373f0ed217f39
Diffstat (limited to 'sc/Library_sc.mk')
-rw-r--r--sc/Library_sc.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/Library_sc.mk b/sc/Library_sc.mk
index b4b74259de9e..3063b56a052c 100644
--- a/sc/Library_sc.mk
+++ b/sc/Library_sc.mk
@@ -60,7 +60,7 @@ $(eval $(call gb_Library_add_exception_objects,sc,\
endif
$(eval $(call gb_Library_use_libraries,sc,\
- avmedia \
+ $(call gb_Helper_optional,AVMEDIA,avmedia) \
basegfx \
comphelper \
cppu \