aboutsummaryrefslogtreecommitdiff
path: root/libbb/appletlib.c
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2015-06-23 14:45:23 +0100
committerRon Yorston <rmy@pobox.com>2015-06-23 14:45:23 +0100
commit171bc72f6a8f996376ca02e44edd56409b27a927 (patch)
tree5c9503f18038408ccdc921267c37f6fe93b27035 /libbb/appletlib.c
parentf7c0538b3abe28167855ea40001b40702ef8ddf9 (diff)
downloadbusybox-w32-171bc72f6a8f996376ca02e44edd56409b27a927.tar.gz
busybox-w32-171bc72f6a8f996376ca02e44edd56409b27a927.tar.bz2
busybox-w32-171bc72f6a8f996376ca02e44edd56409b27a927.zip
libbb: really add build details to banner
Look at the environment variable during compilation, not runtime.
Diffstat (limited to 'libbb/appletlib.c')
-rw-r--r--libbb/appletlib.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/libbb/appletlib.c b/libbb/appletlib.c
index eafc5fce8..06857ed61 100644
--- a/libbb/appletlib.c
+++ b/libbb/appletlib.c
@@ -635,10 +635,9 @@ static int busybox_main(char **argv)
635 dup2(1, 2); 635 dup2(1, 2);
636 full_write2_str(bb_banner); /* reuse const string */ 636 full_write2_str(bb_banner); /* reuse const string */
637 full_write2_str(" multi-call binary.\n"); /* reuse */ 637 full_write2_str(" multi-call binary.\n"); /* reuse */
638#if ENABLE_PLATFORM_MINGW32 638#if defined(MINGW_VER)
639 if ((a=getenv("MINGW_VERSION"))) { 639 if (strlen(MINGW_VER)) {
640 full_write2_str(a); 640 full_write2_str(MINGW_VER "\n\n");
641 full_write2_str("\n\n");
642 } 641 }
643#endif 642#endif
644 full_write2_str( 643 full_write2_str(