diff options
Diffstat (limited to 'meta/recipes-connectivity/bind/bind')
-rw-r--r-- | meta/recipes-connectivity/bind/bind/bind-add-crosscripts-search-path-for-xml2-config.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/bind/bind/bind-add-crosscripts-search-path-for-xml2-config.patch b/meta/recipes-connectivity/bind/bind/bind-add-crosscripts-search-path-for-xml2-config.patch new file mode 100644 index 0000000000..4f1a3f8e89 --- /dev/null +++ b/meta/recipes-connectivity/bind/bind/bind-add-crosscripts-search-path-for-xml2-config.patch | |||
@@ -0,0 +1,35 @@ | |||
1 | From 8fa549fe5390875d56f75e20d364394cd5ccf388 Mon Sep 17 00:00:00 2001 | ||
2 | From: Joe MacDonald <joe_macdonald@mentor.com> | ||
3 | Date: Mon, 3 Nov 2014 21:52:02 -0500 | ||
4 | Subject: [PATCH] bind: add crosscripts search path for xml2-config | ||
5 | |||
6 | The configure script was testing xml2-config from bin but in openembedded | ||
7 | bin folder is not copied to sysroot so the test was failing. Added another | ||
8 | condition to test libxml-2.0.pc which is present in lib folder. Used pkg-config | ||
9 | to get libs and cflags information. | ||
10 | |||
11 | Upstream-Status: Inappropriate [ openembedded specific ] | ||
12 | |||
13 | Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com> | ||
14 | Signed-off-by: Noor Ahsan <noor_ahsan@mentor.com> | ||
15 | --- | ||
16 | configure.in | 3 +++ | ||
17 | 1 file changed, 3 insertions(+) | ||
18 | |||
19 | diff --git a/configure.in b/configure.in | ||
20 | index 3d04f4c..6032f67 100644 | ||
21 | --- a/configure.in | ||
22 | +++ b/configure.in | ||
23 | @@ -1433,6 +1433,9 @@ case "$use_libxml2" in | ||
24 | if test -f "$use_libxml2/bin/xml2-config" ; then | ||
25 | libxml2_libs=`$use_libxml2/bin/xml2-config --libs` | ||
26 | libxml2_cflags=`$use_libxml2/bin/xml2-config --cflags` | ||
27 | + elif test -f "$use_libxml2/lib/pkgconfig/libxml-2.0.pc" ; then | ||
28 | + libxml2_libs=`pkg-config libxml-2.0 --libs` | ||
29 | + libxml2_cflags=`pkg-config libxml-2.0 --cflags` | ||
30 | fi | ||
31 | ;; | ||
32 | esac | ||
33 | -- | ||
34 | 1.9.1 | ||
35 | |||