You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GCC looks for the import library or static library at link time. The import library redirects calls in the resulting executable or library to the corresponding functions in the DLL. The result will require the DLL at runtime, and the DLL must have execute permissions.
I think this is similar to how .lib and .dll library files function on native Windows targets.
Attempting to run python setup.py build_ext in Pillow's main directory fails because Pillow can't find jpeg. Downgrading setuptools to version 59.8.0 and running the same command again runs to completion.
Expected behavior
Running under python 3.8 with setuptools 59.8.0:
>>> from distutils.cygwinccompiler import CygwinCCompiler
>>> comp = CygwinCCompiler()
dllwrap: WARNING: dllwrap is deprecated, use gcc -shared or ld -shared instead
>>> comp.find_library_file(["/usr/lib"], "uuid")
'/usr/lib/libuuid.dll.a'
Closespypa#3302
Sets static library, DLL, and import library name patterns to those used by Cygwin packages.
The DLLs will often have a numeral as part of the name (cyg${name}-0.dll or cyg${name}_2.dll or such), but I don't know how to specify that here.
setuptools version
setuptools==62.1.0, 61.3.1, 60.10.0
Python version
Python 3.8 (and 3.7, I think)
OS
32-bit and 64-bit Cygwin 3.4.4 on Windows 10
Additional environment information
Cygwin library naming scheme:
cyg${name}.dll
lib${name}.a
lib${name}.dll.a
GCC looks for the import library or static library at link time. The import library redirects calls in the resulting executable or library to the corresponding functions in the DLL. The result will require the DLL at runtime, and the DLL must have execute permissions.
I think this is similar to how
.lib
and.dll
library files function on native Windows targets.Description
Following up on python-pillow/Pillow#6216:
Attempting to run
python setup.py build_ext
in Pillow's main directory fails because Pillow can't find jpeg. Downgrading setuptools to version 59.8.0 and running the same command again runs to completion.Expected behavior
Running under python 3.8 with setuptools 59.8.0:
How to Reproduce
Running under python 3.8 with setuptools 62.1.0):
Output
The text was updated successfully, but these errors were encountered: