summaryrefslogtreecommitdiff
path: root/RepositoryExternal.mk
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2014-03-03 16:23:27 +0100
committerDavid Tardon <dtardon@redhat.com>2014-03-03 16:25:27 +0100
commit93aff251a3f7f648d532c3818f0419d43958ab64 (patch)
tree9f7ab845e52b5015ab284dfa600b2468da115db1 /RepositoryExternal.mk
parent7ac4babfd6eabc51262560a5caa846d86f79a6c0 (diff)
set MDDS_CFLAGS in configure
Change-Id: Ib6be67c7a23e5b403e90f4f72578f7385e895f23
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 c23a879e89ca..463db2bbe455 100644
--- a/RepositoryExternal.mk
+++ b/RepositoryExternal.mk
@@ -113,7 +113,13 @@ ifneq ($(SYSTEM_MDDS),)
gb_ExternalProject__use_mdds_headers :=
-gb_LinkTarget__use_mdds_headers :=
+define gb_LinkTarget__use_mdds_headers
+$(call gb_LinkTarget_set_include,$(1),\
+ $(MDDS_CFLAGS) \
+ $$(INCLUDE) \
+)
+
+endef
else # !SYSTEM_MDDS
@@ -125,7 +131,7 @@ endef
define gb_LinkTarget__use_mdds_headers
$(call gb_LinkTarget_use_unpacked,$(1),mdds)
$(call gb_LinkTarget_set_include,$(1),\
- -I$(call gb_UnpackedTarball_get_dir,mdds/include) \
+ $(MDDS_CFLAGS) \
$$(INCLUDE) \
)