board/csky: fixup gdb instructions in readme.txt
[buildroot-gz.git] / package / libxmlrpc / 0002-config.mk.in-fix-shared-libraries-build-for-uClibc.patch
blob5970df51a94217a89589eba2b99aa8258a3b2fec
1 From 5d68179a54b0a34d989722dcbe3b6eb962feb27d Mon Sep 17 00:00:00 2001
2 From: Romain Naour <romain.naour@openwide.fr>
3 Date: Tue, 23 Dec 2014 16:04:18 +0100
4 Subject: [PATCH] config.mk.in: fix shared libraries build for uClibc
6 Signed-off-by: Romain Naour <romain.naour@openwide.fr>
7 ---
8 config.mk.in | 3 ++-
9 1 file changed, 2 insertions(+), 1 deletion(-)
11 diff --git a/config.mk.in b/config.mk.in
12 index c5d4160..45461cf 100644
13 --- a/config.mk.in
14 +++ b/config.mk.in
15 @@ -166,7 +166,8 @@ shliblefn = $(1:%=%.shlibledummy)
16 # HOST_OS is usually has a version number suffix, e.g. "aix5.3.0.0", so
17 # we compare based on prefix.
19 -ifeq ($(patsubst linux-gnu%,linux-gnu,$(HOST_OS)),linux-gnu)
20 +# linux-uclibc is also a linux
21 +ifeq ($(patsubst linux-%,linux-,$(HOST_OS)),linux-)
22 # Assume linker is GNU Compiler (gcc)
23 SHARED_LIB_TYPE = unix
24 MUST_BUILD_SHLIB = Y
25 --
26 1.9.3