[OpenWrt-Devel] [PATCH] fix 64bit uclibc external toolchain detection
John Crispin
blogic at openwrt.org
Tue Jul 14 05:19:11 EDT 2015
Hi Dirk,
please make sure to use a proper prefix for your patches. i just fixed
this manually while merging so no need to resend.
John
On 08/07/2015 07:34, Dirk Neukirchen wrote:
> according to gcc, UCLIBC_DYNAMIC_LINKER64
>
> Signed-off-by: Dirk Neukirchen <dirkneukirchen at web.de>
> ---
> scripts/ext-toolchain.sh | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/scripts/ext-toolchain.sh b/scripts/ext-toolchain.sh
> index 3ebaa21..a552fbe 100755
> --- a/scripts/ext-toolchain.sh
> +++ b/scripts/ext-toolchain.sh
> @@ -91,7 +91,7 @@ test_uclibc() {
> local sysroot="$("$CC" $CFLAGS -print-sysroot 2>/dev/null)"
> if [ -d "${sysroot:-$TOOLCHAIN}" ]; then
> local lib
> - for lib in "${sysroot:-$TOOLCHAIN}"/{lib,usr/lib,usr/local/lib}/ld-uClibc*.so*; do
> + for lib in "${sysroot:-$TOOLCHAIN}"/{lib,usr/lib,usr/local/lib}/ld*-uClibc*.so*; do
> if [ -f "$lib" ] && [ ! -h "$lib" ]; then
> return 0
> fi
>
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list