From: Marc Kleine-Budde Date: Wed, 3 Feb 2010 12:43:37 +0100 Subject: [PATCH] Makefile.config: fix shared libs on arm The magic to detect a linux system expects that "HOST_OS" == "linux-gnu". Unfortunately this is not true for modern arm system with EABI, the "HOST_OS" is "linux-gnueabi". With this patch, if the string "linux" is part of "HOST_OS" it's considered to compile for a linux system. Signed-off-by: Marc Kleine-Budde --- Makefile.config.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.config.in b/Makefile.config.in index 07f37af..a79ca1e 100644 --- a/Makefile.config.in +++ b/Makefile.config.in @@ -136,7 +136,7 @@ endif # out how. For the rest, we have this default: SHARED_LIB_TYPE = NONE -ifeq ($(HOST_OS),linux-gnu) +ifeq ($(findstring linux,$(HOST_OS)),linux) # Assume linker is GNU Compiler (gcc) SHARED_LIB_TYPE = unix SHLIB_SUFFIX = so