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 8f7b9aa..9aa309d 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"