diff options
author | Tor Lillqvist <tml@collabora.com> | 2018-11-27 00:41:04 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2018-11-27 00:41:04 +0200 |
commit | 5c99b38190249ae86d5d8f6023a074fa67024b02 (patch) | |
tree | 58439fc34d7496a520e1f7ccf6cfb68cad49b62f /ios | |
parent | c7aed6eb9b920a133ecef16f3f96a82311be25c9 (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.mk | 2 |
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/ /\ |