]> sigrok.org Git - sigrok-util.git/blobdiff - cross-compile/mingw/sigrok-cross-mingw
sigrok-cross-mingw: i686-pc-mingw32.static -> i686-w64-mingw32.static.
[sigrok-util.git] / cross-compile / mingw / sigrok-cross-mingw
index 8d0cdcefeca5559c118b25075e10db4963826c5e..6bf521c5804c163b382055fe90791d4ae942f9f1 100755 (executable)
@@ -50,7 +50,7 @@ GIT_CLONE="git clone --depth=1"
 # We need to find tools in the toolchain.
 export PATH=$MXE/usr/bin:$PATH
 
-TOOLCHAIN_TRIPLET="i686-pc-mingw32.static"
+TOOLCHAIN_TRIPLET="i686-w64-mingw32.static"
 
 P="$PREFIX/lib/pkgconfig"
 P2="$MXE/usr/$TOOLCHAIN_TRIPLET/lib/pkgconfig"
@@ -59,7 +59,7 @@ CM="-DCMAKE_TOOLCHAIN_FILE=$MXE/usr/$TOOLCHAIN_TRIPLET/share/cmake/mxe-conf.cmak
 L="--disable-shared --enable-static"
 DDK="$MXE/usr/$TOOLCHAIN_TRIPLET/include/ddk"
 
-export PKG_CONFIG_PATH_i686_pc_mingw32_static="$P:$P2"
+export PKG_CONFIG_PATH_i686_w64_mingw32_static="$P:$P2"
 
 # Remove build directory contents (if any) and create a new build dir.
 rm -rf $BUILDDIR