From 27e517b2e592d8516844848a85399c6ed05f18aa Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Tue, 27 Nov 2018 00:07:02 +0200 Subject: Fill buildid in versionrc for iOS with the git HEAD hash Previously it tried to use a BUILDID Make variable that did not exist. Change-Id: Ie31eb3928c69dc52fcb17a9a5593cbe166d95307 --- ios/CustomTarget_iOS_setup.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ios') 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/ /\ -- cgit