]> git.kaiwu.me - nginx.git/commitdiff
Dynamic modules: added dlsym() to configure test.
authorValentin Bartenev <vbart@nginx.com>
Fri, 5 Feb 2016 18:48:25 +0000 (21:48 +0300)
committerValentin Bartenev <vbart@nginx.com>
Fri, 5 Feb 2016 18:48:25 +0000 (21:48 +0300)
It appears that AddressSanitizer in GCC 5 intercepts dlopen() and dlclose()
but not dlsym().

auto/unix

index 6ca63a61da982a5a2c19edb9fbfe05a3d4ae0766..e07df0844bdce24024e8891e92ffe7410ee86a7a 100755 (executable)
--- a/auto/unix
+++ b/auto/unix
@@ -260,7 +260,7 @@ ngx_feature_run=no
 ngx_feature_incs="#include <dlfcn.h>"
 ngx_feature_path=
 ngx_feature_libs=
-ngx_feature_test="dlopen(NULL, 0)"
+ngx_feature_test="dlopen(NULL, 0); dlsym(NULL, NULL)"
 . auto/feature