Patchwork libxml2: added python dependency to nativesdk

login
register
mail settings
Submitter eu@felipetonello.com
Date June 7, 2013, 5:18 p.m.
Message ID <1370625481-4539-1-git-send-email-eu@felipetonello.com>
Download mbox | patch
Permalink /patch/51371/
State Accepted
Commit 4f2b3e3831bdc5707eacdab571ab207d8b09953e
Headers show

Comments

eu@felipetonello.com - June 7, 2013, 5:18 p.m.
From: "Felipe F. Tonello" <eu@felipetonello.com>

This is necessary since libxml2 has python dependency.

This patch will fix this error:
...
/path/to/build/system/4.7.2/ld: cannot find -lpython2.7
...
ERROR: Task 4152 (virtual:nativesdk:meta/recipes-core/libxml/libxml2_2.9.0.bb, do_compile) failed with exit code '1'

Signed-off-by: Felipe F. Tonello <eu@felipetonello.com>
---
 meta/recipes-core/libxml/libxml2.inc | 1 +
 1 file changed, 1 insertion(+)

Patch

diff --git a/meta/recipes-core/libxml/libxml2.inc b/meta/recipes-core/libxml/libxml2.inc
index 91cc14b..9b2af0f 100644
--- a/meta/recipes-core/libxml/libxml2.inc
+++ b/meta/recipes-core/libxml/libxml2.inc
@@ -9,6 +9,7 @@  LIC_FILES_CHKSUM = "file://Copyright;md5=2044417e2e5006b65a8b9067b683fcf1 \
                     file://list.c;beginline=4;endline=13;md5=cdbfa3dee51c099edb04e39f762ee907 \
                     file://trio.c;beginline=5;endline=14;md5=6c025753c86d958722ec76e94cae932e"
 
+DEPENDS_class-nativesdk = "nativesdk-python"
 DEPENDS_class-native = "python-native"
 DEPENDS =+ "zlib"