summaryrefslogtreecommitdiff
path: root/ios
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2018-11-27 00:07:02 +0200
committerTor Lillqvist <tml@collabora.com>2018-11-27 00:09:26 +0200
commit27e517b2e592d8516844848a85399c6ed05f18aa (patch)
treefef3162cdb8b37ad7a73481bc9c43b6dd5467177 /ios
parent8efb302a446bb319a0793c45076ca6fca288949b (diff)
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
Diffstat (limited to 'ios')
-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/ /\