From patchwork Sat Dec 22 08:24:47 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [meta-qt3, v2] qt-x11-free-native: Use internal 3rdparty libpng header Date: Sat, 22 Dec 2012 08:24:47 -0000 From: Saul Wold X-Patchwork-Id: 41497 Message-Id: <1356164687-25863-1-git-send-email-sgw@linux.intel.com> To: yocto@yoctoproject.org Cc: openembedded-core@lists.openembedded.org 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 --- 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() {