[nginx] Configure: fix build with -Werror=nonnull.
Maxim Dounin
mdounin at mdounin.ru
Thu Jul 7 13:51:28 UTC 2016
details: http://hg.nginx.org/nginx/rev/0bf08d9c82c1
branches:
changeset: 6623:0bf08d9c82c1
user: Piotr Sikora <piotrsikora at google.com>
date: Mon Jun 27 15:00:04 2016 -0700
description:
Configure: fix build with -Werror=nonnull.
Signed-off-by: Piotr Sikora <piotrsikora at google.com>
diffstat:
auto/unix | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff --git a/auto/unix b/auto/unix
--- a/auto/unix
+++ b/auto/unix
@@ -261,7 +261,7 @@ ngx_feature_run=no
ngx_feature_incs="#include <dlfcn.h>"
ngx_feature_path=
ngx_feature_libs=
-ngx_feature_test="dlopen(NULL, RTLD_NOW | RTLD_GLOBAL); dlsym(NULL, NULL)"
+ngx_feature_test="dlopen(NULL, RTLD_NOW | RTLD_GLOBAL); dlsym(NULL, \"\")"
. auto/feature
More information about the nginx-devel
mailing list