Skip to content

Commit ce18846

Browse files
mstorsjoAlexpux
authored andcommitted
Allow picking up include/lib dirs from CFLAGS/LDFLAGS for Windows targets
In cpython-mingw-3.10, this was part of a patch named "allow static tcltk". Co-authored-by: Алексей <[email protected]>
1 parent a924c8c commit ce18846

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -925,7 +925,7 @@ def init_inc_lib_dirs(self):
925925
if HOST_PLATFORM == 'hp-ux11':
926926
self.lib_dirs += ['/usr/lib/hpux64', '/usr/lib/hpux32']
927927

928-
if MACOS:
928+
if MACOS or MS_WINDOWS:
929929
# This should work on any unixy platform ;-)
930930
# If the user has bothered specifying additional -I and -L flags
931931
# in OPT and LDFLAGS we might as well use them here.

0 commit comments

Comments
 (0)