mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-12-15 23:05:34 +01:00
linux-atm: Remove AC_CHECK_LIB for libresolv
libatm uses res_search which is provided by libc now a days in both glibc and musl, we dont need to error out if libresolv is not found Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
014326ebca
commit
82620f8f46
|
|
@ -0,0 +1,28 @@
|
|||
From a2a2e1b7a3f4f90e32912b5ba9b79e1a02275775 Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Thu, 1 Sep 2022 11:17:13 -0700
|
||||
Subject: [PATCH] configure: Check for symbol from libresolv instead of main
|
||||
|
||||
This checks will fail with modern autoconf and compilers
|
||||
|
||||
Upstream-Status: Pending
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
---
|
||||
configure.in | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
--- a/configure.in
|
||||
+++ b/configure.in
|
||||
@@ -45,12 +45,7 @@ AC_CHECK_HEADER(linux/atmsap.h, ,
|
||||
)
|
||||
|
||||
dnl Check for libraries
|
||||
-dnl libresolv is required
|
||||
-AC_CHECK_LIB(resolv, main, ,
|
||||
- AC_MSG_ERROR([*** Unable to find libresolv!!!])
|
||||
-)
|
||||
|
||||
-dnl We don't want libresolv everywhere, just with libatm
|
||||
LIBS=""
|
||||
|
||||
INCLUDES="-I\$(top_srcdir)/src/include"
|
||||
|
|
@ -15,6 +15,7 @@ SRC_URI = "http://nchc.dl.sourceforge.net/project/${BPN}/${BPN}/${PV}/${BPN}-${P
|
|||
file://0001-saaldump-atmdump-Include-linux-sockios.h-for-SIOCGST.patch \
|
||||
file://0001-make-Add-PREFIX-knob.patch \
|
||||
file://0001-include-string-h-from-memcpy-and-strcpy-function-pro.patch \
|
||||
file://0001-configure-Check-for-symbol-from-libresolv-instead-of.patch \
|
||||
"
|
||||
|
||||
SRC_URI:append:libc-musl = " file://musl-no-on_exit.patch"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user