Merge pull request #117 from fr500/patch-1

Add git version to android
This commit is contained in:
Twinaphex 2018-10-04 14:43:10 +02:00 committed by GitHub
commit bc65529aa7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,10 @@
TARGET_NAME ?= mgba
GIT_VERSION := " $(shell git rev-parse --short HEAD || echo unknown)"
ifneq ($(GIT_VERSION)," unknown")
DEFINES += -DGIT_VERSION=\"$(GIT_VERSION)\"
endif
ifeq ($(STATIC_LINKING), 1)
TARGET = $(TARGET_NAME)_libretro_$(platform).a
else