X-Git-Url: https://git.distorted.org.uk/~mdw/termux-packages/blobdiff_plain/e239964bacc9d5e73fb7fdb3250deccc43ea6996..96fed5a72e25cabc7d7daded32188675f55ec021:/packages/openssh/build.sh diff --git a/packages/openssh/build.sh b/packages/openssh/build.sh index 90002ace..7383e41d 100755 --- a/packages/openssh/build.sh +++ b/packages/openssh/build.sh @@ -11,8 +11,10 @@ TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" --disable-libutil ac_cv_search_openpty=no --w TERMUX_PKG_MAKE_INSTALL_TARGET="install-nokeys" TERMUX_PKG_RM_AFTER_INSTALL="bin/slogin share/man/man1/slogin.1" -export LD=$CC # Needed to link the binaries -export LDFLAGS="$LDFLAGS -llog" # liblog for android logging in syslog hack +termux_step_pre_configure() { + LD=$CC # Needed to link the binaries + LDFLAGS+=" -llog" # liblog for android logging in syslog hack +} termux_step_pre_make () { # We need to remove this file before installing, since otherwise the