diff options
author | Matúš Kukan <matus.kukan@gmail.com> | 2012-06-02 10:15:04 +0200 |
---|---|---|
committer | Matúš Kukan <matus.kukan@gmail.com> | 2012-06-02 23:38:00 +0200 |
commit | 0d59b7bf1bd03e7149b8e6ea147c5c39f114f925 (patch) | |
tree | bfa0b7d58caceaabdec94e302d740b2a36c02386 /extensions | |
parent | fb3b9777a4b8ceda19fabb918eb33a3e0c94f156 (diff) |
deliver sane header only when it's being used
Change-Id: I38a3dfb14375bb4abee7beaa3127c3a4cce1b9a2
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/Library_scn.mk | 8 |
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 \ |