summaryrefslogtreecommitdiff
path: root/ios
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2018-11-27 00:41:04 +0200
committerTor Lillqvist <tml@collabora.com>2018-11-27 00:41:04 +0200
commit5c99b38190249ae86d5d8f6023a074fa67024b02 (patch)
tree58439fc34d7496a520e1f7ccf6cfb68cad49b62f /ios
parentc7aed6eb9b920a133ecef16f3f96a82311be25c9 (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: Idaf8076fac0a39fc3805c4445de2b41b55044c1a
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 4de69c94e6ab..7c09103a6de4 100644
--- a/ios/CustomTarget_iOS_setup.mk
+++ b/ios/CustomTarget_iOS_setup.mk
@@ -80,7 +80,7 @@ $(IOSGEN)/native-code.h: $(BUILDDIR)/config_host.mk $(SRCDIR)/ios/CustomTarget_i
echo '[Version]' > $(IOSRES)/program/versionrc
echo 'AllLanguages=en-US' >> $(IOSRES)/program/versionrc
echo 'BuildVersion=' >> $(IOSRES)/program/versionrc
- echo "buildid=$(BUILDID)" >> $(IOSRES)/program/versionrc
+ echo "buildid=$(shell git -C $(SRCDIR) log -1 --format=%H)" >> $(IOSRES)/program/versionrc
$(SRCDIR)/bin/lo-all-static-libs | sed -e 's/ /\