From e957318f5f9c618f8bd98e2aa5d92e80916c4154 Mon Sep 17 00:00:00 2001 From: Ron Yorston Date: Fri, 9 Apr 2021 14:24:50 +0100 Subject: libbb: special case for busybox --help is WIN32-only Commit 32833bc06 (ash: treat all applets as NOEXEC) added special treatment for 'busybox --help'. This should only be included for WIN32 builds. --- libbb/appletlib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libbb') diff --git a/libbb/appletlib.c b/libbb/appletlib.c index ca71fcb04..193a78e31 100644 --- a/libbb/appletlib.c +++ b/libbb/appletlib.c @@ -1052,7 +1052,7 @@ void FAST_FUNC show_usage_if_dash_dash_help(int applet_no, char **argv) # if defined APPLET_NO_false && applet_no != APPLET_NO_false # endif -# if defined APPLET_NO_busybox +# if ENABLE_PLATFORM_MINGW32 && defined APPLET_NO_busybox && applet_no != APPLET_NO_busybox # endif ) { -- cgit v1.2.3-55-g6feb