From: Yann E. MORIN Date: Sun, 21 Jun 2020 20:31:58 +0000 (+0200) Subject: toolchain/toolchain-wrapper.c: extend the list of unsafe paths X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a07d37d226c7e8808bd5b68d94265e3ce47b3ded;p=buildroot.git toolchain/toolchain-wrapper.c: extend the list of unsafe paths On some legacy systems, the X11 headers and libs are in /usr/X11R66/include and /usr/X11R66/lib, and of course, some packages are trying to be smart and use those paths (even when they do not exist). Add those to the list of unsafe paths to check in the toolchain wrapper. Signed-off-by: Yann E. MORIN Signed-off-by: Thomas Petazzoni --- diff --git a/toolchain/toolchain-wrapper.c b/toolchain/toolchain-wrapper.c index 8cfc963ccd..39e9f0850f 100644 --- a/toolchain/toolchain-wrapper.c +++ b/toolchain/toolchain-wrapper.c @@ -129,6 +129,8 @@ static const struct str_len_s unsafe_paths[] = { STR_LEN(/usr/lib), STR_LEN(/usr/local/include), STR_LEN(/usr/local/lib), + STR_LEN(/usr/X11R6/include), + STR_LEN(/usr/X11R6/lib), { NULL, 0 }, };