Skip to content

Commit

Permalink
Add -lpython<version> while liking stdlib
Browse files Browse the repository at this point in the history
  • Loading branch information
naveen521kk committed Jan 1, 2024
1 parent 79a23c9 commit c58063c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Modules/makesetup
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ NL='\
'

# Setup to link with extra libraries when making shared extensions.
# Currently, only Cygwin needs this baggage.
# Currently, only Cygwin and MINGW needs this baggage.
case `uname -s` in
CYGWIN*) if test $libdir = .
then
Expand All @@ -97,6 +97,8 @@ CYGWIN*) if test $libdir = .
ExtraLibDir='$(LIBPL)'
fi
ExtraLibs="-L$ExtraLibDir -lpython\$(LDVERSION)";;
MINGW*)
ExtraLibs='$(BLDLIBRARY)';;
esac

# Main loop
Expand Down

0 comments on commit c58063c

Please sign in to comment.