[Mesa-dev] [PATCH 10/23] anv: Link to Android libraries in the autotools build
Chad Versace
chadversary at chromium.org
Sat Sep 2 08:17:33 UTC 2017
A first step to supporting Vulkan on ARC++. Mesa on ARC++ uses
Autotools, not Android.mk.
---
src/intel/Makefile.vulkan.am | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/intel/Makefile.vulkan.am b/src/intel/Makefile.vulkan.am
index 8a19f96096a..d1b1132ed2e 100644
--- a/src/intel/Makefile.vulkan.am
+++ b/src/intel/Makefile.vulkan.am
@@ -146,6 +146,11 @@ VULKAN_LIB_DEPS = \
$(DLOPEN_LIBS) \
-lm
+if HAVE_PLATFORM_ANDROID
+VULKAN_CFLAGS += $(ANDROID_CFLAGS)
+VULKAN_LIB_DEPS += $(ANDROID_LIBS)
+endif
+
if HAVE_PLATFORM_X11
VULKAN_CPPFLAGS += \
$(XCB_DRI3_CFLAGS) \
--
2.13.5
More information about the mesa-dev
mailing list