--- configure.orig 2020-01-03 10:44:56 UTC +++ configure @@ -23922,7 +23922,9 @@ $as_echo "$as_me: adding ${ssldir}/lib64 to RPATH" >&6 fi else - OPENSSL_LDFLAGS="-L$ssldir/lib" + if [ $ssldir != "/usr" ]; then + OPENSSL_LDFLAGS="-L$ssldir/lib" + fi if test "$overriden_with_ssl"; then { $as_echo "$as_me:${as_lineno-$LINENO}: adding ${ssldir}/lib to RPATH" >&5