summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-10-02 05:46:20 +0000
committerCoprDistGit <infra@openeuler.org>2023-10-02 05:46:20 +0000
commit62f0a34c39a6846b6a86f2bbc7fb8c319bd46d94 (patch)
treeecc777f61b2e98bea623a50aec23afd0f71639aa
parent38496e478a7463e7197dd461cea1fa475e1dd4bb (diff)
automatic import of opensshopeneuler22.03_LTSopeneuler20.03
-rw-r--r--openssh.spec2
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 \