X-Git-Url: https://sigrok.org/gitweb/?p=sigrok-util.git;a=blobdiff_plain;f=cross-compile%2Fmingw%2Fsigrok-cross-mingw;h=c86ada2bf8ecf4c987f4f6c3d0f7b156cc05848e;hp=fc79e1a46fd5316987818b346955bd362ecfbc05;hb=b73b66ae6fd458b56461b47837cb6fea4bbfc491;hpb=9de2e03de8ab22e44cdc39ab8a9bbe438bf631aa diff --git a/cross-compile/mingw/sigrok-cross-mingw b/cross-compile/mingw/sigrok-cross-mingw index fc79e1a..c86ada2 100755 --- a/cross-compile/mingw/sigrok-cross-mingw +++ b/cross-compile/mingw/sigrok-cross-mingw @@ -28,7 +28,7 @@ MXE=$HOME/mxe-git PREFIX=$HOME/sr_mingw # The path where to download files to and where to build packages. -BUILDDIR=./sr_mingw_build +BUILDDIR=./build # Edit this to enable/disable/modify parallel compiles. PARALLEL="-j 2" @@ -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"