Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/videolan/dav1d.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenrik Gramner <gramner@twoorioles.com>2021-02-08 19:27:37 +0300
committerHenrik Gramner <henrik@gramner.com>2021-02-08 19:27:37 +0300
commit69268d3a4f096164cebc0db7571e18c32779c300 (patch)
treee36f518e4892854b7ebf059014f66e3a815cdd17 /include
parent958846150a1a20c40781b1454bb314fde3c55630 (diff)
build: Fix ninja warning message on Windows
We currently run 'git describe --match' to obtain the current version, but meson doesn't properly quote/escape the pattern string on Windows. As a result, "fatal: Not a valid object name .ninja_log" is printed when compiling on Windows systems. Compilation still works, but the warning is annoying and misleading. Currently we don't actually need the pattern matching functionality (which is why things still work), so simply remove it as a workaround.
Diffstat (limited to 'include')
-rw-r--r--include/meson.build4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/meson.build b/include/meson.build
index c83bfcd..e597184 100644
--- a/include/meson.build
+++ b/include/meson.build
@@ -25,9 +25,7 @@
# Revision file (vcs_version.h) generation
dav1d_git_dir = join_paths(dav1d_src_root, '.git')
rev_target = vcs_tag(command: [
- 'git', '--git-dir', dav1d_git_dir,
- 'describe', '--tags', '--long',
- '--match', '?.*.*', '--always'
+ 'git', '--git-dir', dav1d_git_dir, 'describe', '--long', '--always'
],
input: 'vcs_version.h.in',
output: 'vcs_version.h'