diff --git a/configure b/configure index 4ed43a0fdd..ceaaf176f2 100755 --- a/configure +++ b/configure @@ -4528,6 +4528,7 @@ EOF fi check_ldflags -Wl,--as-needed +check_ldflags -Wl,-z,noexecstack if check_func dlopen; then ldl=