Browse Source

inetutils: pass LIBS=-llog in make args

Should be compatible with both cross-compiling and building on device.
android-5
Leonid Plyushch 5 years ago
parent
commit
96211368ac
No known key found for this signature in database GPG Key ID: 45F2964132545795
  1. 3
      packages/inetutils/build.sh

3
packages/inetutils/build.sh

@ -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
}

Loading…
Cancel
Save