diff --git a/meson.build b/meson.build index 501b706..520cd35 100644 --- a/meson.build +++ b/meson.build @@ -47,7 +47,7 @@ pylibfdt_enabled = not meson.is_cross_build() and py.found() and swig.found() ? wheel_only = get_option('wheel-only') version_gen_h = vcs_tag( - command: ['git', 'describe', '--dirty=+'], + command: ['git', '--git-dir=.git', 'describe', '--dirty=+'], input: 'version_gen.h.in', output: 'version_gen.h', )