From: Uwe Hermann Date: Sat, 7 Apr 2018 17:53:50 +0000 (+0200) Subject: sigrok-native-msys2: Don't override PKG_CONFIG_PATH. X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=0b0d0cc0a8a89c1b81d1952c08ce100a334d6bcc;p=sigrok-util.git sigrok-native-msys2: Don't override PKG_CONFIG_PATH. Instead, prepend to it. Otherwise certain pkg-config files might not be found correctly. --- diff --git a/cross-compile/msys2/sigrok-native-msys2 b/cross-compile/msys2/sigrok-native-msys2 index 1de27c0..f41b67a 100755 --- a/cross-compile/msys2/sigrok-native-msys2 +++ b/cross-compile/msys2/sigrok-native-msys2 @@ -84,7 +84,7 @@ export PYTHONPATH= # ----------------------------------------------------------------------------- -P="$PREFIX/lib/pkgconfig" +P="$PREFIX/lib/pkgconfig:$PKG_CONFIG_PATH" C="$C --prefix=$PREFIX" L="--disable-shared --enable-static"