qt_staging.inc: substitute OE_QMAKE_LIBS_X11 in libtool files
authorJeremy Laine <jeremy.laine@m4x.org>
Mon, 5 May 2008 17:17:59 +0000 (17:17 +0000)
committerJeremy Laine <jeremy.laine@m4x.org>
Mon, 5 May 2008 17:17:59 +0000 (17:17 +0000)
packages/qt4/qt4-x11-free.inc
packages/qt4/qt_staging.inc

index 60c266b..17f2fff 100644 (file)
@@ -5,7 +5,7 @@ HOMEPAGE = "http://www.trolltech.com"
 LICENSE = "GPL QPL"
 DEPENDS += "virtual/libx11 fontconfig xft libxext libxrender libxrandr libxcursor"
 PROVIDES = "qt4x11"
-PR = "r9"
+PR = "r10"
 
 SRC_URI = "ftp://ftp.trolltech.com/qt/source/qt-x11-opensource-src-${PV}.tar.gz \
            file://0001-cross-compile.patch;patch=1 \
index 1c3d69c..a49be47 100644 (file)
@@ -9,6 +9,7 @@ do_stage_append() {
 
     cd ${STAGING_LIBDIR}
     sed -i s#"-L${S}/lib"##g libQt*.la
+    sed -i s#'$(OE_QMAKE_LIBS_X11)'#"${OE_QMAKE_LIBS_X11}"#g libQt*.la
 }
 
 STAGE_TEMP = "${WORKDIR}/temp-staging"