summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--PKGBUILD1
1 files changed, 1 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 884d8efc4b5..4ae4f951fa8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -38,6 +38,7 @@ build() {
mkdir -p "build-${_arch}" && pushd "build-${_arch}"
bsdtar -xf "${srcdir}"/python-${pkgver}-embed-${target}.zip
gendef python${_pybasever}.dll
+ sed -i "s|PyEval_InitThreads@0|PyEval_InitThreads|g" python${_pybasever}.def
${_arch}-dlltool --dllname python${_pybasever}.dll --def python${_pybasever}.def --output-lib libpython${_pybasever}.dll.a
sed "s|@TRIPLE@|${_arch}|g;s|@PYVER@|${_pybasever}|g" "${srcdir}"/wine-python.sh > ${_arch}-python${_pybasever}-bin
popd