mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +00:00
gh-127604: ensure -ldl is passed only once to the linker (#133071)
This commit is contained in:
parent
6677c2c165
commit
af3f6fcb7e
3 changed files with 9 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue