diff options
| author | Christian Tismer <tismer@stackless.com> | 2022-07-27 18:13:11 +0200 |
|---|---|---|
| committer | Christian Tismer <tismer@stackless.com> | 2022-08-02 09:36:17 +0000 |
| commit | 114de72f1f63999a08f698a0972cce3a7f33a372 (patch) | |
| tree | 17962fe4c6836cd4b425df070ad1452e2186aaa5 /build_scripts/platforms/unix.py | |
| parent | daa68a6dd14aec331d6e539cccce9bbae678faf6 (diff) | |
build: Fix a weird build problem on macOS and other platforms
There was a long existing bug in the PySide build system that
had a weird effect on macOS:
* building PySide with Limited API and testing worked fine.
* building PySide without Limited API worked fine too, but gave
crashes when testing pysidetest. It appears that macos
duplicates a static Python build, one of them uninitialized.
After a month with no solution, a Linux build had problems, too,
but complained already in the build.
It was solved by passing `--enable-shared` to the Python build.
This `--enable-shared` solved the macOS problem as well.
Further analysis by Alexandru led to the suggestion that the
Python libraries in pysidetest are not needed at all, and by
removing them, the whole problem went away.
This is now confirmed on other platforms as well. The option
`--enable-shared` is no longer needed in any configuration.
The problem was caused by 22e359bc19daf19033332aa2d7bb9726c7f4be14
from 2020-02-18.
Task-number: PYSIDE-1735
Change-Id: I08b8628e75ef9c664be30200ae295cd2e6004370
Pick-to: 6.3
Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'build_scripts/platforms/unix.py')
0 files changed, 0 insertions, 0 deletions
