[PATCH v2] Makefile.flags: fix the OS detection for libresolv

Xabier Oneca -- xOneca xoneca at gmail.com
Fri Jan 8 17:54:14 UTC 2021


Hi,

> From: Martin Kaiser <martin at kaiser.cx>
>
> 054493350 ("Do not add -lresolv on non-Linux systems") adds a condition
> to link with libresolv only on linux systems.
>
> The check requires that CONFIG_UNAME_OSNAME equals Linux. This is too
> strict. By default, CONFIG_UNAME_OSNAME is the output of uname -o. For most
> linux systems, uname -o returns "GNU/Linux".

So, this test (previous to your change) depends on uname applet being
compiled in?

Cheers,

Xabier Oneca_,,_


More information about the busybox mailing list