void-packages/srcpkgs/wxPython4/patches/cross.patch
Đoàn Trần Công Danh fc1f637835 wxPython4: fix cross build after python3-module change
In build-helper 'python3', we've set _PYTHON_SYSCONFIGDATA_NAME
on cross-build, but that module could be found only inside sysroot.
2022-09-25 11:52:20 +07:00

12 lines
381 B
Diff

Index: wxPython-4.0.7/build.py
===================================================================
--- wxPython-4.0.7.orig/build.py
+++ wxPython-4.0.7/build.py
@@ -169,7 +169,6 @@ def main(args):
setPythonVersion(args)
setDevModeOptions(args)
- os.environ['PYTHONPATH'] = phoenixDir()
os.environ['PYTHONUNBUFFERED'] = 'yes'
os.environ['WXWIN'] = wxDir()