GNOME Bugzilla – Bug 795719
Typo in git version macro
Last modified: 2018-05-03 19:16:40 UTC
Hi, in src/Resources.vala used _GITVERSION but in meson.build is _GIT_VERSION set. CU Jörg
Created attachment 371580 [details] [review] patch file
did that cause any issues? Because - I know it's confusing - the C define is _GIT_VERSION, but the vala conditional is _GITVERSION
if gitver.returncode() == 0 add_global_arguments(['-D_GIT_VERSION="@0@"'.format(gitver.stdout().strip())], language : 'c') add_global_arguments(['--define=_GITVERSION'], language : 'vala') endif