summaryrefslogtreecommitdiff
path: root/RepositoryExternal.mk
diff options
context:
space:
mode:
Diffstat (limited to 'RepositoryExternal.mk')
-rw-r--r--RepositoryExternal.mk10
1 files changed, 8 insertions, 2 deletions
diff --git a/RepositoryExternal.mk b/RepositoryExternal.mk
index 94f2bd333d28..85264b4afdf3 100644
--- a/RepositoryExternal.mk
+++ b/RepositoryExternal.mk
@@ -115,10 +115,16 @@ ifeq (SANE,$(filter SANE,$(BUILD_TYPE)))
define gb_LinkTarget__use_sane_headers
$(call gb_LinkTarget_set_include,$(1),\
- -I$(SRCDIR)/external/$(if $(filter WNT,$(OS)),twain,sane)/inc \
- $$(INCLUDE) \
+ $(if $(filter WNT,$(OS)), \
+ -I$(call gb_UnpackedTarball_get_dir,twain_dsm/pub/include), \
+ -I$(SRCDIR)/external/sane/inc) \
+ $$(INCLUDE) \
)
+ifeq ($(OS),WNT)
+$(call gb_LinkTarget_use_unpacked,$(1),twain_dsm)
+endif
+
endef
else