10000 GH-127970: find the runtime library when dladdr is available by FFY00 · Pull Request #127972 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

GH-127970: find the runtime library when dladdr is available #127972

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
Jan 8, 2025
Prev Previous commit
Next Next commit
Fix macOS framework builds
Signed-off-by: Filipe Laíns <lains@riseup.net
  • Loading branch information
FFY00 committed Dec 17, 2024
commit ca4a3e36eaa0c472a05ee3884d46380b549c4711
4 changes: 3 additions & 1 deletion Modules/getpath.c
Original file line number Diff line number Diff line change
Expand Up @@ -806,7 +806,9 @@
static int
library_to_dict(PyObject *dict, const char *key)
{
#ifdef Py_ENABLE_SHARED
/* macOS framework builds do not link against a libpython dynamic library, but
instead link against a macOS Framework. */
#ifdef Py_ENABLE_SHARED || WITH_NEXT_FRAMEWORK

Check warning on line 811 in Modules/getpath.c

View workflow job for this annotation

GitHub Actions / Ubuntu / build and test (ubuntu-24.04-aarch64)

extra tokens at end of #ifdef directive

Check warning on line 811 in Modules/getpath.c

View workflow job for this annotation

GitHub Actions / Ubuntu / build and test (ubuntu-24.04-aarch64)

extra tokens at end of #ifdef directive

Check warning on line 811 in Modules/getpath.c

View workflow job for this annotation

GitHub Actions / Ubuntu / build and test (ubuntu-24.04)

extra tokens at end of #ifdef directive

Check warning on line 811 in Modules/getpath.c

View workflow job for this annotation

GitHub Actions / Ubuntu / build and test (ubuntu-24.04)

extra tokens at end of #ifdef directive

Check warning on line 811 in Modules/getpath.c

View workflow job for this annotation

GitHub Actions / Windows (free-threading) / build and test (x64)

unexpected tokens following preprocessor directive - expected a newline [D:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]

Check warning on line 811 in Modules/getpath.c

View workflow j 7644 ob for this annotation

GitHub Actions / Address sanitizer (ubuntu-24.04)

extra tokens at end of #ifdef directive

Check warning on line 811 in Modules/getpath.c

View workflow job for this annotation

GitHub Actions / Windows / build and test (x64)

unexpected tokens following preprocessor directive - expected a newline [D:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]

Check warning on line 811 in Modules/getpath.c

View workflow job for this annotation

GitHub Actions / Windows (free-threading) / build and test (arm64)

unexpected tokens following preprocessor directive - expected a newline [D:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]

Check warning on line 811 in Modules/getpath.c

View workflow job for this annotation

GitHub Actions / Hypothesis tests on Ubuntu

extra tokens at end of #ifdef directive

#ifdef MS_WINDOWS
extern HMODULE PyWin_DLLhModule;
Expand Down
Loading
0