From 6ec2376b2c7cce441a75946b493cf5071016fcdd Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Mon, 27 Apr 2020 17:12:39 +0300 Subject: openssh: add optional support for libedit --- extra/openssh/build | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'extra/openssh') 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 -- cgit v1.2.3