inetutils: pass LIBS=-llog in make args

Should be compatible with both cross-compiling and building on device.
This commit is contained in:
Leonid Pliushch 2019-08-16 18:19:13 +03:00
parent 94f3f40c68
commit fc5c4dc6da
1 changed files with 2 additions and 1 deletions

View File

@ -25,7 +25,8 @@ TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
ac_cv_lib_crypt_crypt=no
"
TERMUX_PKG_EXTRA_MAKE_ARGS="LIBS=-llog"
termux_step_pre_configure() {
CPPFLAGS+=" -DLOGIN_PROCESS=6 -DDEAD_PROCESS=8 -DLOG_NFACILITIES=24"
export LIBS="-llog" # for syslog
}