From 2f8df6641cf7068d5c51d83ce6c893943864c841 Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Sat, 26 Sep 2020 00:37:00 +0300 Subject: openssh: switch to bearssl --- community/openssh/build | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'community/openssh/build') diff --git a/community/openssh/build b/community/openssh/build index 6ddefd0b..a70f97a3 100755 --- a/community/openssh/build +++ b/community/openssh/build @@ -2,7 +2,13 @@ # Adds optional libedit support cpt-list libedit >/dev/null 2>&1 && - libedit="--with-libedit" + libedit="--with-libedit" && LIBS="$(pkgconf --static --libs libedit)" + +export LIBS + +export LDFLAGS="$LDFLAGS -static" + +autoreconf -fi ./configure \ --prefix=/usr \ @@ -14,7 +20,6 @@ cpt-list libedit >/dev/null 2>&1 && --with-mantype=doc \ --without-rpath \ --disable-strip \ - --with-ssl-engine \ --with-pid-dir=/run \ --disable-wtmp \ --disable-utmp \ -- cgit v1.2.3