Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit57e63ca

Browse files
committed
gh-99942: fix regression in python.pc that broke linking on android/cygwin
In commit254b309 a previous change toavoid linking to libpython was partially reverted for Android (and laterCygwin as well), to add back the link flags. This was applied todistutils and to python-config.sh, but not to python.pc.Add it back to python.pc as well.
1 parent36a0b1d commit57e63ca

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
On Android, python.pc now correctly reports the library to link to, the same
2+
as python-config.sh.

‎Misc/python.pc.in‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ Description: Build a C extension for Python
99
Requires:
1010
Version: @VERSION@
1111
Libs.private: @LIBS@
12-
Libs:
12+
Libs: -L${libdir} @LIBPYTHON@
1313
Cflags: -I${includedir}/python@VERSION@@ABIFLAGS@

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp