aboutsummaryrefslogtreecommitdiff
path: root/extra/openssh
diff options
context:
space:
mode:
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