Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit64d81b4

Browse files
committed
ensure-ldl is passed to the linker whendladdr1 is found
1 parentcc05e4b commit64d81b4

File tree

2 files changed

+19
-15
lines changed

2 files changed

+19
-15
lines changed

‎configure

Lines changed: 13 additions & 13 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎configure.ac

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2986,8 +2986,12 @@ AC_HEADER_DIRENT
29862986
AC_HEADER_MAJOR
29872987

29882988
# for faulthandler
2989-
AC_CHECK_HEADERS([execinfo.h link.h dlfcn.h],
2990-
[AC_CHECK_FUNCS(backtracebacktrace_symbolsdladdr1)])
2989+
AC_CHECK_HEADERS([execinfo.h link.h dlfcn.h],[
2990+
AC_CHECK_FUNCS([backtrace backtrace_symbols dladdr1],[
2991+
# dladdr1 requires -ldl
2992+
AS_VAR_APPEND([LDFLAGS],[" -ldl"])
2993+
])
2994+
])
29912995

29922996
# bluetooth/bluetooth.h has been known to not compile with -std=c99.
29932997
# http://permalink.gmane.org/gmane.linux.bluez.kernel/22294

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp