Patchwork sip.bbclass: fix sip-native dependency

login
register
mail settings
Submitter Martin Jansa
Date Aug. 1, 2012, 2:38 p.m.
Message ID <1343831880-20707-1-git-send-email-Martin.Jansa@gmail.com>
Download mbox | patch
Permalink /patch/33571/
State Accepted
Commit 5f1af539b3d34e6689a69d09c69d9099eee983d4
Headers show

Comments

Martin Jansa - Aug. 1, 2012, 2:38 p.m.
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 meta/classes/sip.bbclass |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

Patch

diff --git a/meta/classes/sip.bbclass b/meta/classes/sip.bbclass
index 3a00e4d..074d4dd 100644
--- a/meta/classes/sip.bbclass
+++ b/meta/classes/sip.bbclass
@@ -9,6 +9,9 @@  RDEPENDS += "python-sip"
 # default stuff, do not uncomment
 # EXTRA_SIPTAGS = "-tWS_X11 -tQt_4_3_0"
 
+# do_generate is before do_configure so ensure that sip_native is populated in sysroot before executing it
+do_generate[depends] += "sip-native:do_populate_sysroot"
+
 sip_do_generate() {
 	if [ -z "${SIP_MODULES}" ]; then 
 		MODULES="`ls sip/*mod.sip`"