Blame view

buildroot/buildroot-2016.08.1/package/icu/0005-fix-static-linking-with-icu-uc.patch 1.11 KB
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
28
29
30
31
32
33
  From ffff12fd321c7a056e796e74cc508726b0626ae0 Mon Sep 17 00:00:00 2001
  From: Romain Naour <romain.naour@openwide.fr>
  Date: Wed, 22 Jul 2015 22:43:25 +0200
  Subject: [PATCH] fix static linking with icu-uc
  
  During static linking with a C application and libicuuc.a,
  -lstdc++ is required.
  
  Add -lstdc++ in Libs.private of icu-uc.pc.
  
  Fixes:
  http://autobuild.buildroot.net/results/210/2107f9dfb39eeb6559fb4271c7af8b39aef521ca/
  
  Signed-off-by: Romain Naour <romain.naour@openwide.fr>
  ---
   source/Makefile.in | 2 +-
   1 file changed, 1 insertion(+), 1 deletion(-)
  
  diff --git a/source/Makefile.in b/source/Makefile.in
  index 9db6c52..ca48e16 100644
  --- a/source/Makefile.in
  +++ b/source/Makefile.in
  @@ -264,7 +264,7 @@ config/icu-uc.pc: config/icu.pc Makefile icudefs.mk
   	@echo "Description: $(PACKAGE_ICU_DESCRIPTION): Common and Data libraries" >> $@
   	@echo "Name: $(PACKAGE)-uc" >> $@
   	@echo "Libs:" '-L$${libdir}' "${ICULIBS_UC}" "${ICULIBS_DT}" >> $@
  -	@echo "Libs.private:" '$${baselibs}' >> $@
  +	@echo "Libs.private:" '$${baselibs}' -lstdc++ >> $@
   	@echo $@ updated.
   
   config/icu-i18n.pc: config/icu.pc Makefile icudefs.mk
  -- 
  2.4.3