diff options
author | Christoph Reiter <reiter.christoph@gmail.com> | 2023-08-08 09:26:33 +0200 |
---|---|---|
committer | Eli Schwartz <eschwartz93@gmail.com> | 2023-08-08 16:32:39 -0400 |
commit | 6671b7359fd042f576f5b944b67f73ced89fe5a6 (patch) | |
tree | 1ce05703966a3c281e327f2e2bbc4a33f2218283 /mesonbuild/scripts/test_loaded_modules.py | |
parent | ec1081666578fe33a75f2c03b6ee9582806d012f (diff) | |
download | meson-6671b7359fd042f576f5b944b67f73ced89fe5a6.zip meson-6671b7359fd042f576f5b944b67f73ced89fe5a6.tar.gz meson-6671b7359fd042f576f5b944b67f73ced89fe5a6.tar.bz2 |
tests: fix "4 custom target depends extmodule" with Python 3.8+ on Windows
Since CPython 3.8 .pyd files no longer look in PATH for loading libraries,
but require the DLL directory to be explicitely added via os.add_dll_directory().
This resulted in those tests failing with 3.8+ on Windows.
Add the DLL build directory with os.add_dll_directory() to fix them.
This was never noticed in CI because it only uses Python 3.7 and the
MSYS2 CPython still used the old behaviour until now.
Diffstat (limited to 'mesonbuild/scripts/test_loaded_modules.py')
0 files changed, 0 insertions, 0 deletions