net-tools: use LDLIBS to pass "-llog"
Fixes on-device build. %ci:reset-backlog
This commit is contained in:
parent
05203b0b01
commit
666aa8b4b4
@ -14,7 +14,7 @@ TERMUX_PKG_EXTRA_MAKE_ARGS="BINDIR=$TERMUX_PREFIX/bin SBINDIR=$TERMUX_PREFIX/bin
|
||||
|
||||
termux_step_configure() {
|
||||
CFLAGS="$CFLAGS -D_LINUX_IN6_H -Dindex=strchr -Drindex=strrchr"
|
||||
LDFLAGS="$LDFLAGS -llog"
|
||||
export LDLIBS="-llog"
|
||||
sed -i "s#/usr#$TERMUX_PREFIX#" $TERMUX_PKG_SRCDIR/man/Makefile
|
||||
yes "" | make config || true
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user