• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/icu/0005-fix-static-linking-with-icu-uc.patch
Romain NaourRomain Naour committed 13dc887cdae22 Jul 2015
Raw file
Source viewDiff to previous
xxxxxxxxxx
 
1
From ffff12fd321c7a056e796e74cc508726b0626ae0 Mon Sep 17 00:00:00 2001
2
From: Romain Naour <romain.naour@openwide.fr>
3
Date: Wed, 22 Jul 2015 22:43:25 +0200
4
Subject: [PATCH] fix static linking with icu-uc
5
​
6
During static linking with a C application and libicuuc.a,
7
-lstdc++ is required.
8
​
9
Add -lstdc++ in Libs.private of icu-uc.pc.
10
​
11
Fixes:
12
http://autobuild.buildroot.net/results/210/2107f9dfb39eeb6559fb4271c7af8b39aef521ca/
13
​
14
Signed-off-by: Romain Naour <romain.naour@openwide.fr>
15
---
16
 source/Makefile.in | 2 +-
17
 1 file changed, 1 insertion(+), 1 deletion(-)
18
​
19
diff --git a/source/Makefile.in b/source/Makefile.in
20
index 9db6c52..ca48e16 100644
21
--- a/source/Makefile.in
22
+++ b/source/Makefile.in
23
@@ -264,7 +264,7 @@ config/icu-uc.pc: config/icu.pc Makefile icudefs.mk
24
    @echo "Description: $(PACKAGE_ICU_DESCRIPTION): Common and Data libraries" >> $@
25
    @echo "Name: $(PACKAGE)-uc" >> $@
26
    @echo "Libs:" '-L$${libdir}' "${ICULIBS_UC}" "${ICULIBS_DT}" >> $@
27
-   @echo "Libs.private:" '$${baselibs}' >> $@
28
+   @echo "Libs.private:" '$${baselibs}' -lstdc++ >> $@
29
    @echo $@ updated.
30
 
31
 config/icu-i18n.pc: config/icu.pc Makefile icudefs.mk
32
-- 
33
2.4.3
34
​
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.