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

Commit297f242

Browse files
committed
Optimize -ldl usage on platforms that use dlopen for libFFI.
1 parente577439 commit297f242

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

‎configure

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

‎configure.ac

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4045,7 +4045,11 @@ AS_VAR_IF([have_libffi], [yes], [
40454045
AC_SUBST([MODULE__CTYPES_MALLOC_CLOSURE])
40464046
40474047
dnl HAVE_LIBDL: for dlopen, see gh-76828
4048-
AS_VAR_IF([ac_cv_lib_dl_dlopen],[yes],[AS_VAR_APPEND([LIBFFI_LIBS],[" -ldl"])])
4048+
AS_VAR_IF([ac_cv_lib_dl_dlopen],[yes],[
4049+
AS_VAR_IF([ac_cv_require_ldl],[yes],[],[
4050+
AS_VAR_APPEND([LIBFFI_LIBS],[" -ldl"])
4051+
])
4052+
])
40494053
40504054
WITH_SAVE_ENV([
40514055
CFLAGS="$CFLAGS $LIBFFI_CFLAGS"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp