summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ios/CustomTarget_iOS_setup.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/ios/CustomTarget_iOS_setup.mk b/ios/CustomTarget_iOS_setup.mk
index 642c6d969c77..539f3856ad5e 100644
--- a/ios/CustomTarget_iOS_setup.mk
+++ b/ios/CustomTarget_iOS_setup.mk
@@ -100,7 +100,7 @@ $(IOSGEN)/native-code.h: $(BUILDDIR)/config_host.mk \
(echo '[Version]' \
&& echo 'AllLanguages=en-US' \
&& echo 'BuildVersion=' \
- && echo "buildid=$(BUILDID)" \
+ && echo "buildid=$(shell git -C $(SRCDIR) log -1 --format=%H)" \
) > $(IOSRES)/program/versionrc
$(SRCDIR)/bin/lo-all-static-libs | sed -e 's/ /\