From 06e2fe600de962cdba53c23de1207501439a9c9f Mon Sep 17 00:00:00 2001 From: Saul Wold Date: Sat, 22 Dec 2012 00:20:47 -0800 Subject: qt-x11-free-native: Use internal 3rdparty libpng header 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(+) (limited to 'recipes-qt3') 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() { -- cgit v1.2.3-54-g00ecf