]> git.openpandora.org Git - openembedded.git/commitdiff
packages/qt4/qt_staging.inc: Treat the staged .la files as well to not point to the...
authorHolger Freyther <zecke@selfish.org>
Sun, 20 Jan 2008 10:26:21 +0000 (10:26 +0000)
committerHolger Freyther <zecke@selfish.org>
Sun, 20 Jan 2008 10:26:21 +0000 (10:26 +0000)
packages/qt4/qt_staging.inc

index 8f7b9aa29f3e8e357d728c2829b6a56372a06558..9aa309d3affd09ec112b4dd9d5367d59134d5e72 100644 (file)
@@ -5,6 +5,9 @@ do_stage_append() {
     sed -i s#"moc_location=${S}/bin/moc"#moc_location=${STAGING_BINDIR}/moc4# Qt*.pc
     sed -i s#"uic_location=${S}/bin/uic"#uic_location=${STAGING_BINDIR}/uic4# Qt*.pc
     sed -i s#libdir=\$\{prefix\}/lib#libdir=\$\{prefix\}/lib/${QT_DIR_NAME}#g Qt*.pc 
+
+    cd ${STAGING_LIBDIR}/${QT_DIR_NAME}
+    sed -i s#"-L${S}/lib"##g libQt*.la
 }
 
 STAGE_TEMP = "${WORKDIR}/temp-staging"