mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-07 05:53:06 +00:00
Fix compilation if git is not installed.
This commit is contained in:
parent
2123621e56
commit
72f307c556
1 changed files with 3 additions and 0 deletions
|
|
@ -117,6 +117,9 @@ make_gitversion_h:
|
|||
else \
|
||||
$(ECHO) -n "" > $(GITVERSION_FILE_TMP) ; \
|
||||
fi
|
||||
if test ! -f $(srcdir)/$(GITVERSION_FILE) ; then \
|
||||
cp -f $(GITVERSION_FILE_TMP) $(srcdir)/$(GITVERSION_FILE) ; \
|
||||
fi
|
||||
if test "`cat $(GITVERSION_FILE_TMP)`" != "`cat $(srcdir)/$(GITVERSION_FILE)`" ; then \
|
||||
cp -f $(GITVERSION_FILE_TMP) $(srcdir)/$(GITVERSION_FILE) ; \
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue