diff options
author | Ron Yorston <rmy@pobox.com> | 2024-02-16 12:06:15 +0000 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2024-02-16 12:06:15 +0000 |
commit | 0200baa675d3b51c0f021da7728353ee7ceedba4 (patch) | |
tree | 2c60bea606dc2d2f0976f158de977c1babd0384a /libbb/messages.c | |
parent | a4bb355732f2902b936368b644fa08518ecce55a (diff) | |
download | busybox-w32-0200baa675d3b51c0f021da7728353ee7ceedba4.tar.gz busybox-w32-0200baa675d3b51c0f021da7728353ee7ceedba4.tar.bz2 busybox-w32-0200baa675d3b51c0f021da7728353ee7ceedba4.zip |
build system: avoid full rebuild when EXTRAVERSION changes
The last two commits allow EXTRAVERSION to track the current state
of a git repository. The build system was unable to determine
which files were affected by changes to EXTRAVERSION and caused
a full rebuild when it changed.
Alter how the version information is passed to the code so only
a handful of files need to be rebuilt when it changes.
Diffstat (limited to 'libbb/messages.c')
-rw-r--r-- | libbb/messages.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libbb/messages.c b/libbb/messages.c index 3c9d8683a..12079a2e0 100644 --- a/libbb/messages.c +++ b/libbb/messages.c | |||
@@ -5,6 +5,9 @@ | |||
5 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. | 5 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
6 | */ | 6 | */ |
7 | #include "libbb.h" | 7 | #include "libbb.h" |
8 | #if ENABLE_PLATFORM_MINGW32 | ||
9 | # include "BB_VER.h" | ||
10 | #endif | ||
8 | 11 | ||
9 | /* allow version to be extended, via CFLAGS */ | 12 | /* allow version to be extended, via CFLAGS */ |
10 | #ifndef BB_EXTRA_VERSION | 13 | #ifndef BB_EXTRA_VERSION |