diff options
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.patch | 19 |
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 @@ | |||
1 | From f4cda3a71311e4496b725bc5f46af93413ec7a1c Mon Sep 17 00:00:00 2001 | ||
2 | From: Bian Naimeng <biannm@cn.fujitsu.com> | ||
3 | Date: Fri, 17 Jul 2015 11:58:49 +0800 | ||
4 | Subject: [PATCH] libldb: add new recipe | ||
5 | |||
1 | Some modules such as dynamic library maybe cann't be imported while cross compile, | 6 | Some modules such as dynamic library maybe cann't be imported while cross compile, |
2 | we just check whether does the module exist. | 7 | we just check whether does the module exist. |
3 | 8 | ||
4 | Signed-off-by: Bian Naimeng <biannm@cn.fujitsu.com> | 9 | Signed-off-by: Bian Naimeng <biannm@cn.fujitsu.com> |
5 | 10 | ||
6 | Index: 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 | |
15 | diff --git a/buildtools/wafsamba/samba_bundled.py b/buildtools/wafsamba/samba_bundled.py | ||
16 | index 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 | ||