comparison auto/unix @ 6385:3577c021f21e

Dynamic modules: added dlsym() to configure test. It appears that AddressSanitizer in GCC 5 intercepts dlopen() and dlclose() but not dlsym().
author Valentin Bartenev <vbart@nginx.com>
date Fri, 05 Feb 2016 21:48:25 +0300
parents 7142b04337d6
children e59e617f8fcb
comparison
equal deleted inserted replaced
6384:e0d7c2f71851 6385:3577c021f21e
258 ngx_feature_name="NGX_HAVE_DLOPEN" 258 ngx_feature_name="NGX_HAVE_DLOPEN"
259 ngx_feature_run=no 259 ngx_feature_run=no
260 ngx_feature_incs="#include <dlfcn.h>" 260 ngx_feature_incs="#include <dlfcn.h>"
261 ngx_feature_path= 261 ngx_feature_path=
262 ngx_feature_libs= 262 ngx_feature_libs=
263 ngx_feature_test="dlopen(NULL, 0)" 263 ngx_feature_test="dlopen(NULL, 0); dlsym(NULL, NULL)"
264 . auto/feature 264 . auto/feature
265 265
266 266
267 if [ $ngx_found != yes ]; then 267 if [ $ngx_found != yes ]; then
268 268