diff options
author | Ashley Whetter <asw@dneg.com> | 2018-07-03 10:48:19 -0700 |
---|---|---|
committer | Bernát Gábor <gaborjbernat@gmail.com> | 2018-10-30 09:02:34 +0000 |
commit | 5d560144432642a91f6e1661bed22e637226c8fe (patch) | |
tree | c936004ef07a69479e1e7f83b95d144fe13c470b | |
parent | a1346aa7a30a252c94f28a9de9af99b03bc156d5 (diff) | |
download | virtualenv-5d560144432642a91f6e1661bed22e637226c8fe.tar.gz |
failure to copy on platforms that use lib64
-rw-r--r-- | docs/changes.rst | 1 | ||||
-rwxr-xr-x | src/virtualenv.py | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/docs/changes.rst b/docs/changes.rst index a878379..c39ae89 100644 --- a/docs/changes.rst +++ b/docs/changes.rst @@ -10,6 +10,7 @@ Release History * upgrade setuptools from ``39.1.0`` to ``40.5.0`` * upgrade wheel from ``0.31.1`` to ``0.32.2`` * upgrade pip from ``10.0.1`` to ``18.1`` +* fix failure to copy on platforms that use lib64 :issue:`11189` 16.0.0 (2018-05-16) ------------------- diff --git a/src/virtualenv.py b/src/virtualenv.py index 7714e80..717fb4c 100755 --- a/src/virtualenv.py +++ b/src/virtualenv.py @@ -1619,9 +1619,9 @@ def fix_lib64(lib_dir, symlink=True): if os.path.lexists(lib64_link): return if symlink: - os.symlink("lib", lib64_link) + os.symlink(lib_dir, lib64_link) else: - copyfile("lib", lib64_link) + copyfile(lib_dir, lib64_link) def resolve_interpreter(exe): |