glibc: install libmvec.so when available
[buildroot-gz.git] / package / libxmlrpc / 0002-fix-non-cplusplus-build.patch
blobefeb9cc83f5a51d381d13352bb263a154017f6c4
1 Handle builds without C++
3 libxmlrpc nicely handles the fact of being built without C++ support,
4 except for one location, fixed by this patch.
6 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 Index: b/lib/util/Makefile
9 ===================================================================
10 --- a/lib/util/Makefile
11 +++ b/lib/util/Makefile
12 @@ -41,11 +41,14 @@
13 LIBOBJS = \
14 casprintf.o \
15 cmdline_parser.o \
16 - cmdline_parser_cpp.o \
17 getoptx.o \
18 string_parser.o \
19 stripcaseeq.o \
21 +ifeq ($(ENABLE_CPLUSPLUS),yes)
22 +LIBOBJS += cmdline_parser_cpp.o
23 +endif
25 .PHONY: all
26 all: $(LIBOBJS)