summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@gmail.com>2012-06-02 10:15:04 +0200
committerMatúš Kukan <matus.kukan@gmail.com>2012-06-02 23:38:00 +0200
commit0d59b7bf1bd03e7149b8e6ea147c5c39f114f925 (patch)
treebfa0b7d58caceaabdec94e302d740b2a36c02386 /extensions
parentfb3b9777a4b8ceda19fabb918eb33a3e0c94f156 (diff)
deliver sane header only when it's being used
Change-Id: I38a3dfb14375bb4abee7beaa3127c3a4cce1b9a2
Diffstat (limited to 'extensions')
-rw-r--r--extensions/Library_scn.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/extensions/Library_scn.mk b/extensions/Library_scn.mk
index 1a884a6a8bec..83a0b6d74d73 100644
--- a/extensions/Library_scn.mk
+++ b/extensions/Library_scn.mk
@@ -30,10 +30,6 @@ $(eval $(call gb_Library_Library,scn))
$(eval $(call gb_Library_set_componentfile,scn,extensions/source/scanner/scn))
-$(eval $(call gb_Library_use_packages,scn,\
- sane_inc \
-))
-
$(eval $(call gb_Library_use_api,scn,\
udkapi \
offapi \
@@ -63,6 +59,10 @@ $(eval $(call gb_Library_add_exception_objects,scn,\
))
else
ifeq ($(GUI),UNX)
+ifneq (,$(filter SANE,$(BUILD_TYPE)))
+$(eval $(call gb_Library_use_packages,scn,sane_inc))
+endif
+
$(eval $(call gb_Library_add_exception_objects,scn,\
extensions/source/scanner/grid \
extensions/source/scanner/sane \