From: Uwe Hermann Date: Fri, 3 Jan 2014 00:45:22 +0000 (+0100) Subject: sigrok-cross-mingw: Use a fake python3.pc. X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=cd6c7174571d583b0d4176b5e1bdd5f16bcc1d9b;p=sigrok-util.git sigrok-cross-mingw: Use a fake python3.pc. Switch from using a fake python3-config script to a fake python3.pc file, so that we can use standard pkg-config on MinGW cross-compiles too. This fixes the MinGW cross-compile. --- diff --git a/cross-compile/mingw/sigrok-cross-mingw b/cross-compile/mingw/sigrok-cross-mingw index 27b8494..5b739bd 100755 --- a/cross-compile/mingw/sigrok-cross-mingw +++ b/cross-compile/mingw/sigrok-cross-mingw @@ -60,22 +60,19 @@ mkdir -p $PREFIX wget http://www.sigrok.org/tmp/Python32.tar.gz -O $PREFIX/Python32.tar.gz tar xzf $PREFIX/Python32.tar.gz -C $PREFIX -# Create a dummy python3-config that points to Python32 above. -mkdir -p $PREFIX/bin -cat >$PREFIX/bin/python3-config <$PREFIX/lib/pkgconfig/python3.pc <