summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/icu/files/icu-add-pkgconfig-support.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-support/icu/files/icu-add-pkgconfig-support.patch')
-rw-r--r--meta/recipes-support/icu/files/icu-add-pkgconfig-support.patch43
1 files changed, 0 insertions, 43 deletions
diff --git a/meta/recipes-support/icu/files/icu-add-pkgconfig-support.patch b/meta/recipes-support/icu/files/icu-add-pkgconfig-support.patch
deleted file mode 100644
index c7cd9d5d7e..0000000000
--- a/meta/recipes-support/icu/files/icu-add-pkgconfig-support.patch
+++ /dev/null
@@ -1,43 +0,0 @@
1Upstream-Status: Inappropriate [version]
2ICU-3.6 has no pkgconfig, so I add it here.
3But ICU has had pkgconfig support since 4.6.
4So this patch is inappropriate to upstream.
5
6Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
7
8Index: configure.in
9=============================================================
10--- a/configure.in
11+++ b/configure.in
12@@ -1057,4 +1057,7 @@ echo "This may cause ICU to fail to build. Please make sure that GNU make"
13 echo "is in your PATH so that this configure script can detect its location."
14 fi
15
16+AC_CONFIG_FILES([icu.pc])
17+AC_OUTPUT
18+
19 $as_unset _CXX_CXXSUFFIX
20
21Index: icu.pc.in
22=============================================================
23--- /dev/null
24+++ b/icu.pc.in
25@@ -0,0 +1,15 @@
26+# Process this file with autoconf to produce a pkg-config metadata file.
27+
28+prefix=@prefix@
29+exec_prefix=@exec_prefix@
30+libdir=@libdir@
31+includedir=@includedir@
32+unicode_version=@UNICODE_VERSION@
33+
34+Name: ICU
35+Description: International Component for Unicode libraries
36+Requires:
37+Version: @VERSION@
38+Libs: -L${libdir} -licui18n -licuuc -licudata
39+Libs.private: -L{libdir} -lpthread -lm
40+Cflags: -I${includedir} -O2 -pipe -g -feliminate-unused-debug-types
41--
421.7.11.2
43