Skip to content

Commit 95b1546

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 2b2d1a5 commit 95b1546

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
@@ -924,7 +924,7 @@ def init_inc_lib_dirs(self):
924924
if HOST_PLATFORM == 'hp-ux11':
925925
self.lib_dirs += ['/usr/lib/hpux64', '/usr/lib/hpux32']
926926

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

0 commit comments

Comments
 (0)