meson: add version.h as dependency to more targets
version.h can be generated after compilation starts, creating a race condition between compilation of various .c files and creation of version.h. Let's add it as a dependency to more build targets that require version.h or build.h. So far we played whack'a'mole by adding versiondep whenever compilation failed. In principle any target which includes compilation (i.e. any that has .c sources directly), could require this. I don't understand why we didn't see more failures… But it seems reasonable to just add the dependency more widely.
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
|
||||
#include "build.h"
|
||||
#include "macro.h"
|
||||
#include "version.h"
|
||||
|
||||
const char* const systemd_features =
|
||||
|
||||
|
||||
Reference in New Issue
Block a user