diff --git a/configure b/configure index 025941f2a7..dc1c3b6d55 100755 --- a/configure +++ b/configure @@ -3750,6 +3750,7 @@ EOF fi check_ldflags -Wl,--as-needed +check_ldflags -Wl,-z,noexecstack if check_func dlopen; then ldl=