aboutsummaryrefslogtreecommitdiff
path: root/mesalib/Android.common.mk
diff options
context:
space:
mode:
Diffstat (limited to 'mesalib/Android.common.mk')
-rw-r--r--mesalib/Android.common.mk4
1 files changed, 1 insertions, 3 deletions
diff --git a/mesalib/Android.common.mk b/mesalib/Android.common.mk
index 18e5726fa..d0a5f1aa4 100644
--- a/mesalib/Android.common.mk
+++ b/mesalib/Android.common.mk
@@ -34,10 +34,8 @@ LOCAL_C_INCLUDES += \
$(MESA_TOP)/include
# define ANDROID_VERSION (e.g., 4.0.x => 0x0400)
-major := $(word 1, $(subst ., , $(PLATFORM_VERSION)))
-minor := $(word 2, $(subst ., , $(PLATFORM_VERSION)))
LOCAL_CFLAGS += \
- -DANDROID_VERSION=0x0$(major)0$(minor)
+ -DANDROID_VERSION=0x0$(MESA_ANDROID_MAJOR_VERSION)0$(MESA_ANDROID_MINOR_VERSION)
LOCAL_CFLAGS += \
-DHAVE_PTHREAD=1 \