summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/vulkan/Android.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/vulkan/Android.mk b/src/vulkan/Android.mk
index 6d6df938ab8..70b23eae08f 100644
--- a/src/vulkan/Android.mk
+++ b/src/vulkan/Android.mk
@@ -59,5 +59,9 @@ $(LOCAL_GENERATED_SOURCES): $(MESA_TOP)/src/vulkan/util/gen_enum_to_str.py \
LOCAL_EXPORT_C_INCLUDE_DIRS := \
$(intermediates)
+ifeq ($(filter $(MESA_ANDROID_MAJOR_VERSION), 4 5 6 7),)
+LOCAL_SHARED_LIBRARIES += libnativewindow
+endif
+
include $(MESA_COMMON_MK)
include $(BUILD_STATIC_LIBRARY)