diff --git a/configure b/configure index 1f0cbff7f9..08777a79d9 100755 --- a/configure +++ b/configure @@ -4092,6 +4092,7 @@ EOF fi check_ldflags -Wl,--as-needed +check_ldflags -Wl,-z,noexecstack if check_func dlopen; then ldl=