diff options
author | Peter Foley <pefoley2@verizon.net> | 2011-09-09 17:42:24 -0400 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2011-09-10 18:52:18 -0500 |
commit | 1bd288436935a0f5392208c21037a5258c21a23e (patch) | |
tree | b1a8b14a434ea1290fbb9d1fa1a7ce7f68c555eb /RepositoryExternal.mk | |
parent | 9092f1f0d363246a88853ee1ad38a698ba2eebb1 (diff) |
convert Mesa to gbuild and add to tail_build
Diffstat (limited to 'RepositoryExternal.mk')
-rw-r--r-- | RepositoryExternal.mk | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/RepositoryExternal.mk b/RepositoryExternal.mk index 03ad711acd6f..d69b677a3837 100644 --- a/RepositoryExternal.mk +++ b/RepositoryExternal.mk @@ -36,6 +36,18 @@ # in the system case, no libraries should be registered, but the target-local # variable LIBS should be set to FOO_LIBS, and INCLUDES to FOO_CFLAGS. +ifeq ($(SYSTEM_MESA_HEADERS),YES) + +gb_LinkTarget__use_Mesa:= + +else + +define gb_LinkTarget__use_Mesa +$(eval $(call gb_LinkTarget_add_external_headers,$(1),Mesa_inc)) +endef + +endif + ifeq ($(SYSTEM_CPPUNIT),YES) define gb_LinkTarget__use_cppunit |