Skip to content

Commit

Permalink
Merge pull request #6225 from totaam/cx_Freeze
Browse files Browse the repository at this point in the history
fix version of hard-coded libffi DLL
  • Loading branch information
lazka committed Feb 26, 2020
2 parents 9d022ee + 40ced6f commit 79aaa11
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion mingw-w64-python-cx_Freeze/PKGBUILD
Expand Up @@ -9,7 +9,7 @@ provides=("${MINGW_PACKAGE_PREFIX}-python3-${_realname}")
conflicts=("${MINGW_PACKAGE_PREFIX}-python3-${_realname}")
replaces=("${MINGW_PACKAGE_PREFIX}-python3-${_realname}")
pkgver=6.1
pkgrel=1
pkgrel=2
pkgdesc="Python package for freezing scripts into executables (mingw-w64)"
arch=('any')
license=('PSF')
Expand All @@ -29,6 +29,8 @@ prepare() {
build() {
echo "Building for Python"
cd python-cx_Freeze-${CARCH}
#change version of hard-coded DLL:
sed -i -e 's/libffi-7.dll/libffi-6.dll/g' ./cx_Freeze/hooks.py
${MINGW_PREFIX}/bin/python setup.py build
}

Expand Down

0 comments on commit 79aaa11

Please sign in to comment.