aboutsummaryrefslogtreecommitdiff
path: root/extra/openssh
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-04-27 17:12:39 +0300
committerCem Keylan <cem@ckyln.com>2020-04-27 17:12:39 +0300
commit6ec2376b2c7cce441a75946b493cf5071016fcdd (patch)
treed59c3e87fb7364533bd382dd555d048fb209a55a /extra/openssh
parentde9bab05198873fa826ba0de956b6770b32cf164 (diff)
downloadrepository-6ec2376b2c7cce441a75946b493cf5071016fcdd.tar.gz
openssh: add optional support for libedit
Diffstat (limited to 'extra/openssh')
-rwxr-xr-xextra/openssh/build7
1 files changed, 6 insertions, 1 deletions
diff --git a/extra/openssh/build b/extra/openssh/build
index d50490c7..acbcd480 100755
--- a/extra/openssh/build
+++ b/extra/openssh/build
@@ -1,5 +1,9 @@
#!/bin/sh -e
+# Adds optional libedit support
+kiss l libedit >/dev/null 2>&1 &&
+ libedit="--with-libedit"
+
./configure \
--prefix=/usr \
--sbindir=/usr/bin \
@@ -13,7 +17,8 @@
--with-ssl-engine \
--with-pid-dir=/run \
--disable-wtmp \
- --disable-utmp
+ --disable-utmp \
+ "$libedit"
make
make DESTDIR="$1" install