]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-99370: fix test_zippath_from_non_installed_posix (GH-99483)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 15 Nov 2022 01:27:42 +0000 (17:27 -0800)
committerGitHub <noreply@github.com>
Tue, 15 Nov 2022 01:27:42 +0000 (17:27 -0800)
commitb189f429b2b8dfd710c4a523450e94d3b20ec410
treec823c825cacf2173a187b54678e756d8d76c8a27
parent90de4b76b9ef557710419fcc0d11ce90b18ac05c
gh-99370: fix test_zippath_from_non_installed_posix (GH-99483)

When build with shared enabled, we need to set `LD_LIBRARY_PATH`
for the non-installed python environment in
test_zippath_from_non_installed_posix so that the python binary
and find and link the libpython.so.
(cherry picked from commit 1df0752b4d49103654abbc75c06b4dc0cf99de1c)

Co-authored-by: Kai Zhang <kylerzhang11@gmail.com>
Lib/test/test_venv.py