]> sigrok.org Git - sigrok-util.git/commitdiff
sigrok-native-msys2: Don't override PKG_CONFIG_PATH.
authorUwe Hermann <redacted>
Sat, 7 Apr 2018 17:53:50 +0000 (19:53 +0200)
committerUwe Hermann <redacted>
Sat, 7 Apr 2018 17:53:50 +0000 (19:53 +0200)
Instead, prepend to it. Otherwise certain pkg-config files might
not be found correctly.

cross-compile/msys2/sigrok-native-msys2

index 1de27c0f5f86749f641c303ae1a47516c0ccdac0..f41b67aba824641c590d1f59225dd9ef6d6dc5df 100755 (executable)
@@ -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"