1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Remove root library check for dlopen() and dlsym() (#13086)

The root library was added here for the Haiku system, to check dlopen()
and dlsym(). However, the root library is already explicitly linked in
the system, and it does not need to be checked neither linked anymore,
since at least ~2013.
This commit is contained in:
Peter Kokot
2024-01-07 01:07:17 -08:00
committed by GitHub
parent 2fec3e7f41
commit 6f3888fe9a

View File

@@ -365,8 +365,8 @@ PHP_CHECK_FUNC(socketpair, socket, network)
PHP_CHECK_FUNC(htonl, socket, network)
PHP_CHECK_FUNC(gethostname, nsl, network)
PHP_CHECK_FUNC(gethostbyaddr, nsl, network)
PHP_CHECK_FUNC(dlopen, dl, root)
PHP_CHECK_FUNC(dlsym, dl, root)
PHP_CHECK_FUNC(dlopen, dl)
PHP_CHECK_FUNC(dlsym, dl)
if test "$ac_cv_func_dlopen" = "yes"; then
AC_DEFINE(HAVE_LIBDL, 1, [ ])
fi