diff options
author | Bénédikt Tran <10796600+picnixz@users.noreply.github.com> | 2025-04-28 11:55:02 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-28 11:55:02 +0200 |
commit | af3f6fcb7ecd3226b0067e0e1a9a6bfb0657a9ba (patch) | |
tree | cd9da56eef3c9b8bb1e1e0a6dbb394f2e9392445 /Python | |
parent | 6677c2c165c32765d3b61a496f806319ba31f768 (diff) | |
download | cpython-af3f6fcb7ecd3226b0067e0e1a9a6bfb0657a9ba.tar.gz cpython-af3f6fcb7ecd3226b0067e0e1a9a6bfb0657a9ba.zip |
gh-127604: ensure `-ldl` is passed only once to the linker (#133071)
Diffstat (limited to 'Python')
-rw-r--r-- | Python/traceback.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/traceback.c b/Python/traceback.c index ff8d29fa520..0ac0b28201c 100644 --- a/Python/traceback.c +++ b/Python/traceback.c @@ -33,9 +33,9 @@ #ifdef HAVE_LINK_H # include <link.h> // struct DL_info #endif -# if defined(__APPLE__) && defined(HAVE_BACKTRACE) && defined(HAVE_BACKTRACE_SYMBOLS) && defined(HAVE_DLADDR) +# if defined(__APPLE__) && defined(HAVE_BACKTRACE) && defined(HAVE_DLADDR) # define CAN_C_BACKTRACE -# elif defined(HAVE_BACKTRACE) && defined(HAVE_BACKTRACE_SYMBOLS) && defined(HAVE_DLADDR1) +# elif defined(HAVE_BACKTRACE) && defined(HAVE_DLADDR1) # define CAN_C_BACKTRACE # endif #endif |