[v9_10] include dso.h when testing DSO_METHOD_dlfcn
This commit is contained in:
@@ -15724,6 +15724,8 @@ $as_echo_n "checking whether linking with OpenSSL requires -ldl... " >&6; }
|
||||
/* end confdefs.h. */
|
||||
|
||||
#include <openssl/err.h>
|
||||
#include <openssl/dso.h>
|
||||
|
||||
int
|
||||
main ()
|
||||
{
|
||||
@@ -15741,6 +15743,7 @@ else
|
||||
/* end confdefs.h. */
|
||||
|
||||
#include <openssl/err.h>
|
||||
#include <openssl/dso.h>
|
||||
|
||||
int
|
||||
main ()
|
||||
|
||||
+4
-1
@@ -1539,12 +1539,15 @@ shared library configuration (e.g., LD_LIBRARY_PATH).)],
|
||||
|
||||
AC_MSG_CHECKING(whether linking with OpenSSL requires -ldl)
|
||||
AC_TRY_LINK([
|
||||
#include <openssl/err.h>],
|
||||
#include <openssl/err.h>
|
||||
#include <openssl/dso.h>
|
||||
],
|
||||
[ DSO_METHOD_dlfcn(); ],
|
||||
[AC_MSG_RESULT(no)],
|
||||
[LIBS="$LIBS -ldl"
|
||||
AC_TRY_LINK([
|
||||
#include <openssl/err.h>
|
||||
#include <openssl/dso.h>
|
||||
],[ DSO_METHOD_dlfcn(); ],
|
||||
[AC_MSG_RESULT(yes)
|
||||
DST_OPENSSL_LIBS="$DST_OPENSSL_LIBS -ldl"
|
||||
|
||||
Reference in New Issue
Block a user