X-Git-Url: https://sigrok.org/gitweb/?p=sigrok-util.git;a=blobdiff_plain;f=cross-compile%2Fmingw%2Fsigrok-cross-mingw;h=e7cd23573ab936aaf88186091cdddc24906924e5;hp=1dac2c40a0cfaf6483d2c013d31ac4587cb76637;hb=533e3e6c5286f6def5f31a58964047936910f94e;hpb=fd214a32cf330bc99690877326ee745ab3ca2162 diff --git a/cross-compile/mingw/sigrok-cross-mingw b/cross-compile/mingw/sigrok-cross-mingw index 1dac2c4..e7cd235 100755 --- a/cross-compile/mingw/sigrok-cross-mingw +++ b/cross-compile/mingw/sigrok-cross-mingw @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh ## ## This file is part of the sigrok-util project. ## @@ -58,7 +58,7 @@ C="--host=$TOOLCHAIN_TRIPLET --prefix=$PREFIX" CM="-DCMAKE_TOOLCHAIN_FILE=$MXE/usr/$TOOLCHAIN_TRIPLET/share/cmake/mxe-conf.cmake" L="--disable-shared --enable-static" -if [ $TARGET == "i686" ]; then +if [ $TARGET = "i686" ]; then export PKG_CONFIG_PATH_i686_w64_mingw32_static="$P:$P2" else export PKG_CONFIG_PATH_x86_64_w64_mingw32_static="$P:$P2"