GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||
GeezerVison is showing github.com — bpo-21536: On Android, C extensions are linked to libpython by xdegaye · Pull Request #12989 · python/cpython Conversation
|
|
LGTM. Thanks @xdegaye for this fix! I tested the PR on Linux: C extensions are still not linked to libpython, as expected. Xavier tested the cross-compilation to Android. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Note: This is a follow-up to #12946. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
|
||
| # On Android the shared libraries must be linked with libpython. | ||
| AC_SUBST(LIBPYTHON) | ||
| if test -z "$ANDROID_API_LEVEL"; then |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Out of curiosity, being that I'm unfamiliar with build issues on Android why the specific test for $ANDROID_API_LEVEL and not something more generic like:
case $host in
*-linux-android*) ....
?
Reason being, I need to add additional cases where libpython should be linked explicitly (e.g. Cygwin, MinGW, etc.) and it would be easier to build off the host_os for this than something very Android-specific.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Using a test based on $ANDROID_API_LEVEL or on $host as you suggest is equivalent.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.