diff options
-rw-r--r-- | openssh.spec | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openssh.spec b/openssh.spec index b592d56..7839045 100644 --- a/openssh.spec +++ b/openssh.spec @@ -282,7 +282,7 @@ else CFLAGS="$CFLAGS -I%{_includedir}/gssapi" fi -LDFLAGS="$LDFLAGS -L/opt/openssl3/lib" +LDFLAGS="$LDFLAGS -L/opt/openssl3/%{_lib} -Wl,-rpath=/opt/openssl3/%{_lib}" CFLAGS="$CFLAGS -I/opt/openssl3/include" %configure \ --with-ssl-dir=/opt/openssl3 \ |