Skip to content

Commit

Permalink
Allow picking up include/lib dirs from CFLAGS/LDFLAGS for Windows tar…
Browse files Browse the repository at this point in the history
…gets

In cpython-mingw-3.10, this was part of a patch named "allow static
tcltk".

Co-authored-by: Алексей <[email protected]>
  • Loading branch information
2 people authored and lazka committed Aug 16, 2023
1 parent 2b2d1a5 commit 95b1546
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -924,7 +924,7 @@ def init_inc_lib_dirs(self):
if HOST_PLATFORM == 'hp-ux11':
self.lib_dirs += ['/usr/lib/hpux64', '/usr/lib/hpux32']

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

0 comments on commit 95b1546

Please sign in to comment.