[yocto] [meta-qt4][PATCH] nativesdk-qt4-tools: ensure --disable-static is not passed

Cody P Schafer dev at codyps.com
Fri Sep 30 11:36:56 PDT 2016


This recipe presumes it can build the qt4-tools as static, and does not
install any of it's built libraries. If we don't remove
`--disable-static`, it attempts to use non-existent shared libraries
(many of them aren't even built), resulting in either link failures at
build time or (occasionally) at populate_sdk time due to the lack of a
provider for the shared libraries.

Signed-off-by: Cody P Schafer <dev at codyps.com>
---
 recipes-qt4/qt4/nativesdk-qt4-tools.inc | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/recipes-qt4/qt4/nativesdk-qt4-tools.inc b/recipes-qt4/qt4/nativesdk-qt4-tools.inc
index 54bf2a1..44faf83 100644
--- a/recipes-qt4/qt4/nativesdk-qt4-tools.inc
+++ b/recipes-qt4/qt4/nativesdk-qt4-tools.inc
@@ -8,6 +8,10 @@ FILESEXTRAPATHS =. "${FILE_DIRNAME}/qt4-${PV}:"
 
 inherit nativesdk qmake2
 
+# This recipe builds the tools as static executables (using static libraries),
+# so we need to avoid disabling them.
+DISABLE_STATIC = ""
+
 SRC_URI = "http://download.qt-project.org/official_releases/qt/4.8/${PV}/qt-everywhere-opensource-src-${PV}.tar.gz \
            file://0001-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch \
            file://0004-configure-qmake-is-already-built-in-qt4-tools-native.patch \
-- 
2.10.0




More information about the yocto mailing list