Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

mhsmith
Copy link
Member

@mhsmith mhsmith commented Aug 6, 2024

This variable was renamed to MODULE_LDFLAGS in #115780, but as discussed at #115780 (comment), Meson depends on the old name LIBPYTHON. Some other package build scripts probably have the same issue.

Copy link
Contributor

@rgommers rgommers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for this fix @mhsmith, much appreciated.

I did do a quick check - this rename is complete, no `MODULE_LDFLAGS left except for the news snippet added here.

Copy link
Contributor

@erlend-aasland erlend-aasland left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing this!

@mhsmith
Copy link
Member Author

mhsmith commented Aug 8, 2024

@erlend-aasland: Thanks; are you able to merge this? There will also be a 3.13 backport.

@erlend-aasland erlend-aasland merged commit 2f5c3b0 into python:main Aug 8, 2024
43 checks passed
@miss-islington-app

This comment was marked as outdated.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Aug 8, 2024
…ON (pythonGH-122764)

(LIBPYTHON was renamed MODULE_LDFLAGS in commit 7f5e3f0.)
(cherry picked from commit 2f5c3b0)

Co-authored-by: Malcolm Smith <[email protected]>
@bedevere-app
Copy link

bedevere-app bot commented Aug 8, 2024

GH-122842 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.13 bugs and security fixes label Aug 8, 2024
gpshead pushed a commit that referenced this pull request Aug 9, 2024
…HON (GH-122764) (GH-122842)

gh-116622: Rename build variable MODULE_LDFLAGS back to LIBPYTHON (GH-122764)

(LIBPYTHON was renamed MODULE_LDFLAGS in commit 7f5e3f0.)
(cherry picked from commit 2f5c3b0)

Co-authored-by: Malcolm Smith <[email protected]>
blhsing pushed a commit to blhsing/cpython that referenced this pull request Aug 22, 2024
@lazka
Copy link
Contributor

lazka commented Sep 11, 2025

Could it be that pkg-config is not used on Android? After this the .pc file contains this under cygwin:

Libs: -L${libdir} $(BLDLIBRARY)

which is not valid syntax. I'd assume it is broken under Android too.

edit: (or maybe it was the previous change this tried to fix?)

@lazka
Copy link
Contributor

lazka commented Sep 11, 2025

yes, also broken for Android, I've filed #138800

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants