From: Cenkron Date: Sun, 18 Feb 2018 20:38:54 +0000 (-0600) Subject: Disable the host PYTHONPATH environment variable to avoid build confusion. X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=9085e553501576251056d4e17bd3a2e58cf038cd;p=sigrok-util.git Disable the host PYTHONPATH environment variable to avoid build confusion. --- diff --git a/cross-compile/msys2/sigrok-native-msys2 b/cross-compile/msys2/sigrok-native-msys2 index c3c1c47..1de27c0 100755 --- a/cross-compile/msys2/sigrok-native-msys2 +++ b/cross-compile/msys2/sigrok-native-msys2 @@ -79,6 +79,9 @@ fi PYPATH=$PREFIX/$PYBASE +# Eliminate the host Python path environment variable, if any is set. +export PYTHONPATH= + # ----------------------------------------------------------------------------- P="$PREFIX/lib/pkgconfig"