From 1534df0b3cd94e844564c512ae70f09b6642b34f Mon Sep 17 00:00:00 2001 From: ISSOtm Date: Wed, 30 Oct 2019 12:18:16 +0100 Subject: [PATCH] Use minGW's pkg-config --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 76b376ed..378a345b 100644 --- a/Makefile +++ b/Makefile @@ -228,8 +228,8 @@ develop: # install instructions instead. mingw32: - $Qenv PKG_CONFIG_PATH=/usr/i686-w64-mingw32/sys-root/mingw/lib/pkgconfig/ \ - make CC=i686-w64-mingw32-gcc YACC=bison -j + $Qmake CC=i686-w64-mingw32-gcc YACC=bison \ + PKG_CONFIG=i686-w64-mingw32-pkg-config -j $Qecho -e '#!/bin/sh\nWINEDEBUG=-all wine $$0.exe "$${@:1}"' > rgbshim.sh $Qchmod +x rgbshim.sh $Qln -s rgbshim.sh rgbasm @@ -238,8 +238,8 @@ mingw32: $Qln -s rgbshim.sh rgbgfx mingw64: - $Qenv PKG_CONFIG_PATH=/usr/x86_64-w64-mingw32/sys-root/mingw/lib/pkgconfig/ \ - make CC=x86_64-w64-mingw32-gcc YACC=bison -j + $Qmake CC=x86_64-w64-mingw32-gcc YACC=bison \ + PKG_CONFIG=x86_64-w64-mingw32-pkg-config -j $Qecho -e '#!/bin/sh\nWINEDEBUG=-all wine $$0.exe "$${@:1}"' > rgbshim.sh $Qchmod +x rgbshim.sh $Qln -s rgbshim.sh rgbasm