diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2019-06-20 15:48:48 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-06-20 16:23:04 +0200 |
commit | 6165c23475d5020cda3794cb684693a7fab9918d (patch) | |
tree | e2ea6d551e2f56ee0e20fb26cf4cd6b79e6543ea | |
parent | 26ac6cb6be807d9e654b4a0c9b970908e210f269 (diff) | |
download | php-git-6165c23475d5020cda3794cb684693a7fab9918d.tar.gz |
Check for dlsym as well
For some reason, when using GCC with address sanitizer, dlopen
is available without -ldl, but dlsym still needs it. Explicitly check
dlsym so we add the library.
-rw-r--r-- | configure.ac | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 8517441bfa..450de11c16 100644 --- a/configure.ac +++ b/configure.ac @@ -403,6 +403,7 @@ PHP_CHECK_FUNC(gethostbyaddr, nsl) PHP_CHECK_FUNC(yp_get_default_domain, nsl) PHP_CHECK_FUNC(dlopen, dl) +PHP_CHECK_FUNC(dlsym, dl) if test "$ac_cv_func_dlopen" = "yes"; then AC_DEFINE(HAVE_LIBDL, 1, [ ]) fi |