diff options
Diffstat (limited to 'community/openssh/build')
-rwxr-xr-x | community/openssh/build | 9 |
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 \ |