Skip to content

Commit

Permalink
add libffi-7.dll to pypy on windows (#2141)
Browse files Browse the repository at this point in the history
Co-authored-by: Bernát Gábor <[email protected]>
  • Loading branch information
mattip and gaborbernat authored Jul 12, 2021
1 parent 17caadc commit 63e884e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions docs/changelog/2141.feature.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
add libffi-7.dll to the hard-coded list of dlls for PyPy
2 changes: 1 addition & 1 deletion src/virtualenv/create/via_global_ref/builtin/pypy/pypy2.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def modules(cls):

@classmethod
def _shared_libs(cls):
return ["libpypy-c.dll"]
return ["libpypy-c.dll", "libffi-7.dll"]

@classmethod
def sources(cls, interpreter):
Expand Down
2 changes: 1 addition & 1 deletion src/virtualenv/create/via_global_ref/builtin/pypy/pypy3.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,4 @@ def bin_dir(self):

@classmethod
def _shared_libs(cls):
return ["libpypy3-c.dll"]
return ["libpypy3-c.dll", "libffi-7.dll"]

0 comments on commit 63e884e

Please sign in to comment.