Blame view

buildroot/buildroot-2016.08.1/package/libxmlrpc/0002-fix-non-cplusplus-build.patch 619 Bytes
6b13f685e   김민수   BSP 최초 추가
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
  Handle builds without C++
  
  libxmlrpc nicely handles the fact of being built without C++ support,
  except for one location, fixed by this patch.
  
  Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
  
  Index: b/lib/util/Makefile
  ===================================================================
  --- a/lib/util/Makefile
  +++ b/lib/util/Makefile
  @@ -41,11 +41,14 @@
   LIBOBJS = \
     casprintf.o \
     cmdline_parser.o \
  -  cmdline_parser_cpp.o \
     getoptx.o \
     string_parser.o \
     stripcaseeq.o \
   
  +ifeq ($(ENABLE_CPLUSPLUS),yes)
  +LIBOBJS += cmdline_parser_cpp.o
  +endif
  +
   .PHONY: all
   all: $(LIBOBJS)