[yocto] [meta-qt3][PATCH v2] qt-x11-free-native: Use internal 3rdparty libpng header

Saul Wold sgw at linux.intel.com
Sat Dec 22 00:24:47 PST 2012


Ensure the 3rdparty version of libpng headers are found first, otherwise
the sysroot libpng15 header are found which causes a mis-match issue.

[YOCTO #3625]

Signed-off-by: Saul Wold <sgw at linux.intel.com>
---
 recipes-qt3/qt3/qt-x11-free-native_3.3.5.bb |    1 +
 1 file changed, 1 insertion(+)

diff --git a/recipes-qt3/qt3/qt-x11-free-native_3.3.5.bb b/recipes-qt3/qt3/qt-x11-free-native_3.3.5.bb
index 2d87d26..b18ea0d 100644
--- a/recipes-qt3/qt3/qt-x11-free-native_3.3.5.bb
+++ b/recipes-qt3/qt3/qt-x11-free-native_3.3.5.bb
@@ -40,6 +40,7 @@ inherit native
 do_configure() {
 	echo "yes" | ./configure -prefix ${prefix} ${QT_CONFIG_FLAGS} -fast -L ${STAGING_LIBDIR} \
                 -I ${STAGING_INCDIR_NATIVE} 
+	sed -i -e '\:obj/release-shared-mt/qpngio.o\ kerne:s:$(CXXFLAGS):-I3rdparty/libpng $(CXXFLAGS):' src/Makefile
 }
 
 do_compile() {
-- 
1.7.9.5




More information about the yocto mailing list