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.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/mesalib/Android.common.mk b/mesalib/Android.common.mk
index dd37104b0..3e6d4c398 100644
--- a/mesalib/Android.common.mk
+++ b/mesalib/Android.common.mk
@@ -33,9 +33,10 @@ endif
LOCAL_C_INCLUDES += \
$(MESA_TOP)/include
+MESA_VERSION=$(shell cat $(MESA_TOP)/VERSION)
# define ANDROID_VERSION (e.g., 4.0.x => 0x0400)
LOCAL_CFLAGS += \
- -DPACKAGE_VERSION=\"9.3.0-devel\" \
+ -DPACKAGE_VERSION=\"$(MESA_VERSION)\" \
-DPACKAGE_BUGREPORT=\"https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa\" \
-DANDROID_VERSION=0x0$(MESA_ANDROID_MAJOR_VERSION)0$(MESA_ANDROID_MINOR_VERSION)