From: Uwe Hermann Date: Fri, 4 Apr 2014 18:00:12 +0000 (+0200) Subject: sigrok-cross-mingw: Don't add $PREFIX/bin to the PATH. X-Git-Url: https://sigrok.org/gitweb/?p=sigrok-util.git;a=commitdiff_plain;h=b73b66ae6fd458b56461b47837cb6fea4bbfc491 sigrok-cross-mingw: Don't add $PREFIX/bin to the PATH. That directory contains cross-compiled binaries, which cannot be run on the host anyway. --- diff --git a/cross-compile/mingw/sigrok-cross-mingw b/cross-compile/mingw/sigrok-cross-mingw index 7fba4f9..c86ada2 100755 --- a/cross-compile/mingw/sigrok-cross-mingw +++ b/cross-compile/mingw/sigrok-cross-mingw @@ -46,8 +46,8 @@ WGET="wget --quiet" # ----------------------------------------------------------------------------- -# We need to find tools in the toolchain and in the install directory. -export PATH=$PREFIX/bin:$MXE/usr/bin:$PATH +# We need to find tools in the toolchain. +export PATH=$MXE/usr/bin:$PATH P="$PREFIX/lib/pkgconfig" P2="$MXE/usr/i686-pc-mingw32/lib/pkgconfig"