diff options
author | David Tardon <dtardon@redhat.com> | 2011-08-18 15:16:40 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2011-08-18 15:18:54 +0200 |
commit | dc03f0321b0c9b6448e516bd5740b0d920fe18e5 (patch) | |
tree | 1628255d9d764d8cc5de078775a80434f989137b /solenv | |
parent | 5513570bf9b58392659c33aea37abc4807f59cb2 (diff) |
use gb_LinkTarget_set_include,_add_includes is not defined
Diffstat (limited to 'solenv')
-rw-r--r-- | solenv/gbuild/CppunitTest.mk | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/solenv/gbuild/CppunitTest.mk b/solenv/gbuild/CppunitTest.mk index e24060c233a0..bdd03cc26786 100644 --- a/solenv/gbuild/CppunitTest.mk +++ b/solenv/gbuild/CppunitTest.mk @@ -100,7 +100,10 @@ $(call gb_LinkTarget_add_defs,$(2),\ $(gb_CppunitTest_DEFS) \ ) $(call gb_LinkTarget_use_external,$(2),cppunit) -$(call gb_LinkTarget_add_includes,$(2),$(filter -I%,$(CPPUNIT_CFLAGS))) +$(call gb_LinkTarget_set_include,$(2),\ + $$(INCLUDE) \ + $(filter -I%,$(CPPUNIT_CFLAGS)) \ +) $(call gb_LinkTarget_add_defs,$(2), \ $(filter-out -I%,$(CPPUNIT_CFLAGS)) \ ) |