inetutils: fix for on-device builds
This commit is contained in:
parent
c0a4798f07
commit
5cb8b1a75d
@ -22,10 +22,10 @@ TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
||||
--disable-rsh
|
||||
--disable-traceroute
|
||||
--disable-uucpd
|
||||
ac_cv_lib_crypt_crypt=no
|
||||
"
|
||||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" ac_cv_lib_crypt_crypt=no"
|
||||
|
||||
termux_step_pre_configure() {
|
||||
CPPFLAGS+=" -DLOGIN_PROCESS=6 -DDEAD_PROCESS=8 -DLOG_NFACILITIES=24"
|
||||
LDFLAGS+=" -llog" # for syslog
|
||||
export LIBS="-llog" # for syslog
|
||||
}
|
||||
|
12
packages/inetutils/configure.patch
Normal file
12
packages/inetutils/configure.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -uNr inetutils-1.9.4/configure inetutils-1.9.4.mod/configure
|
||||
--- inetutils-1.9.4/configure 2015-06-09 10:53:47.000000000 +0300
|
||||
+++ inetutils-1.9.4.mod/configure 2019-08-16 17:07:41.868736971 +0300
|
||||
@@ -15894,7 +15894,7 @@
|
||||
if test -n "$LIBMULTITHREAD" || test -n "$LTLIBMULTITHREAD"; then
|
||||
if case "$gl_cv_have_weak" in *yes) true;; *) false;; esac; then
|
||||
|
||||
-$as_echo "#define USE_POSIX_THREADS_WEAK 1" >>confdefs.h
|
||||
+#$as_echo "#define USE_POSIX_THREADS_WEAK 1" >>confdefs.h
|
||||
|
||||
LIBTHREAD=
|
||||
LTLIBTHREAD=
|
Loading…
Reference in New Issue
Block a user