Skip to contentSkip to conversation

nativesdk-qt4-tools: ensure --disable-static is not passed

PATCH New Cody P Schafer 1 participant 1 message Sep 30, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 nativesdk-qt4-tools: ensure --disable-static is not passed

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.

---
 recipes-qt4/qt4/nativesdk-qt4-tools.inc | 4 ++++
 1 file changed, 4 insertions(+)
recipes-qt4/qt4/nativesdk-qt4-tools.inc +4 -0
index 54bf2a1..44faf83 100644
@@ -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 \
Signature · 1 line
2.10.0