aboutsummaryrefslogtreecommitdiff
path: root/community/openssh/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-09-26 00:37:00 +0300
committerCem Keylan <cem@ckyln.com>2020-09-26 00:37:00 +0300
commit2f8df6641cf7068d5c51d83ce6c893943864c841 (patch)
treef31ce093f01aa302c590e18e85b7a189f0440a63 /community/openssh/build
parente0d2ebf570aedf538529eac426358b8b954b553c (diff)
downloadrepository-2f8df6641cf7068d5c51d83ce6c893943864c841.tar.gz
openssh: switch to bearssl
Diffstat (limited to 'community/openssh/build')
-rwxr-xr-xcommunity/openssh/build9
1 files changed, 7 insertions, 2 deletions
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 \