Skip to content

Commit de9a4e5

Browse files
committed
Win: Special case for cffi
1 parent 814fbd7 commit de9a4e5

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

pyoxidizer/src/distutils/_msvccompiler.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -590,6 +590,11 @@ def extension_link_shared_object(self,
590590
# directory that doesn't outlive this process.
591591
object_paths = []
592592
for i, o in enumerate(objects):
593+
if 'libffi_msvc' in o:
594+
print('Ignored static {}'.format(o))
595+
# https://github.com/indygreg/python-build-standalone/issues/23
596+
# Library 'ffi' should be added here
597+
continue
593598
o = o + '.static'
594599
p = os.path.join(dest_path, '%s.%d.o' % (name, i))
595600
shutil.copyfile(o, p)

0 commit comments

Comments
 (0)