summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/libldb/libldb/do-not-import-target-module-while-cross-compile.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-networking/recipes-support/libldb/libldb/do-not-import-target-module-while-cross-compile.patch')
-rw-r--r--[-rwxr-xr-x]meta-networking/recipes-support/libldb/libldb/do-not-import-target-module-while-cross-compile.patch19
1 files changed, 14 insertions, 5 deletions
diff --git a/meta-networking/recipes-support/libldb/libldb/do-not-import-target-module-while-cross-compile.patch b/meta-networking/recipes-support/libldb/libldb/do-not-import-target-module-while-cross-compile.patch
index fdd312c0a..ee4936a5a 100755..100644
--- a/meta-networking/recipes-support/libldb/libldb/do-not-import-target-module-while-cross-compile.patch
+++ b/meta-networking/recipes-support/libldb/libldb/do-not-import-target-module-while-cross-compile.patch
@@ -1,12 +1,21 @@
1From f4cda3a71311e4496b725bc5f46af93413ec7a1c Mon Sep 17 00:00:00 2001
2From: Bian Naimeng <biannm@cn.fujitsu.com>
3Date: Fri, 17 Jul 2015 11:58:49 +0800
4Subject: [PATCH] libldb: add new recipe
5
1Some modules such as dynamic library maybe cann't be imported while cross compile, 6Some modules such as dynamic library maybe cann't be imported while cross compile,
2we just check whether does the module exist. 7we just check whether does the module exist.
3 8
4Signed-off-by: Bian Naimeng <biannm@cn.fujitsu.com> 9Signed-off-by: Bian Naimeng <biannm@cn.fujitsu.com>
5 10
6Index: ldb-1.1.26/buildtools/wafsamba/samba_bundled.py 11---
7=================================================================== 12 buildtools/wafsamba/samba_bundled.py | 32 ++++++++++++++++++++++++--------
8--- ldb-1.1.26.orig/buildtools/wafsamba/samba_bundled.py 13 1 file changed, 24 insertions(+), 8 deletions(-)
9+++ ldb-1.1.26/buildtools/wafsamba/samba_bundled.py 14
15diff --git a/buildtools/wafsamba/samba_bundled.py b/buildtools/wafsamba/samba_bundled.py
16index 253d604..398cc6a 100644
17--- a/buildtools/wafsamba/samba_bundled.py
18+++ b/buildtools/wafsamba/samba_bundled.py
10@@ -2,6 +2,7 @@ 19@@ -2,6 +2,7 @@
11 20
12 import sys 21 import sys
@@ -15,7 +24,7 @@ Index: ldb-1.1.26/buildtools/wafsamba/samba_bundled.py
15 from Configure import conf 24 from Configure import conf
16 from samba_utils import TO_LIST 25 from samba_utils import TO_LIST
17 26
18@@ -230,17 +231,32 @@ def CHECK_BUNDLED_SYSTEM_PYTHON(conf, li 27@@ -249,17 +250,32 @@ def CHECK_BUNDLED_SYSTEM_PYTHON(conf, libname, modulename, minversion='0.0.0'):
19 # versions 28 # versions
20 minversion = minimum_library_version(conf, libname, minversion) 29 minversion = minimum_library_version(conf, libname, minversion)
21 30