commit 6ec2376b2c7cce441a75946b493cf5071016fcdd
parent de9bab05198873fa826ba0de956b6770b32cf164
Author: Cem Keylan <cem@ckyln.com>
Date: Mon, 27 Apr 2020 17:12:39 +0300
openssh: add optional support for libedit
Diffstat:
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git 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