Skip to content

Commit

Permalink
Win: Special case for cffi
Browse files Browse the repository at this point in the history
  • Loading branch information
jayvdb committed Nov 25, 2019
1 parent 814fbd7 commit de9a4e5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pyoxidizer/src/distutils/_msvccompiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -590,6 +590,11 @@ def extension_link_shared_object(self,
# directory that doesn't outlive this process.
object_paths = []
for i, o in enumerate(objects):
if 'libffi_msvc' in o:
print('Ignored static {}'.format(o))
# https://github.com/indygreg/python-build-standalone/issues/23
# Library 'ffi' should be added here
continue
o = o + '.static'
p = os.path.join(dest_path, '%s.%d.o' % (name, i))
shutil.copyfile(o, p)
Expand Down

0 comments on commit de9a4e5

Please sign in to comment.