aboutsummaryrefslogtreecommitdiff
path: root/jni/Android.mk
diff options
context:
space:
mode:
authorAndrés2017-01-15 13:46:20 -0500
committerGitHub2017-01-15 13:46:20 -0500
commit7ed90abe19954aaf1fa56657a08e3cae4c8a67ce (patch)
treed7b10c58b127705519c90acdc1c68ead905409bd /jni/Android.mk
parent0e8ec6b5f7ab59ad13970536c76e2c8c52a23965 (diff)
parent715634d23a55f3237dc24c23bc05c8c801468fff (diff)
downloadsnesemu-7ed90abe19954aaf1fa56657a08e3cae4c8a67ce.tar.gz
snesemu-7ed90abe19954aaf1fa56657a08e3cae4c8a67ce.tar.bz2
snesemu-7ed90abe19954aaf1fa56657a08e3cae4c8a67ce.zip
Merge pull request #24 from GregorR/libretro-git-version-android
Report git version with library_version on Android
Diffstat (limited to 'jni/Android.mk')
-rw-r--r--jni/Android.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/jni/Android.mk b/jni/Android.mk
index b890e2f..579cb12 100644
--- a/jni/Android.mk
+++ b/jni/Android.mk
@@ -1,11 +1,12 @@
LOCAL_PATH := $(call my-dir)
+
+include $(CLEAR_VARS)
+
GIT_VERSION := " $(shell git rev-parse --short HEAD || echo unknown)"
ifneq ($(GIT_VERSION)," unknown")
LOCAL_CFLAGS += -DGIT_VERSION=\"$(GIT_VERSION)\"
endif
-include $(CLEAR_VARS)
-
CORE_DIR := ../source
LIBRETRO_DIR := ..