[Buildroot] [PATCH 1/1] libupnpp: fix build with uclibc

Thomas Petazzoni thomas.petazzoni at bootlin.com
Fri May 4 15:06:44 UTC 2018


Hello,

On Fri,  4 May 2018 12:05:38 +0200, Fabrice Fontaine wrote:

> +diff --git a/configure.ac b/configure.ac
> +index 8903b72..cd3c298 100644
> +--- a/configure.ac
> ++++ b/configure.ac
> +@@ -35,9 +35,8 @@ build_linux=no
> + build_mac=no
> + # Detect the target system
> + case "${host_os}" in
> +-    linux*) build_linux=yes;;
> +     darwin*) build_mac=yes;;
> +-    *) AC_MSG_ERROR(["OS $host_os is not supported"]);;
> ++    *) build_linux=yes;;

Wouldn't something like:

	linux*|uclinux*) build_linux=yes;

be a cleaner solution ?

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com


More information about the buildroot mailing list