packages/qt4/qt_staging.inc: Fix the .pc files of Qt/X11 and Qt/Embedded
authorOtavio Salvador <otavio@ossystems.com.br>
Sun, 20 Jan 2008 10:25:16 +0000 (10:25 +0000)
committerHolger Freyther <zecke@selfish.org>
Sun, 20 Jan 2008 10:25:16 +0000 (10:25 +0000)
    The libdir was pointing to ${prefix}/lib it should have pointed to
    ${prefix}/lib/{qtopia..,qt4} for the staged libraries

packages/qt4/qt_staging.inc

index ddc2872..8f7b9aa 100644 (file)
@@ -4,6 +4,7 @@ do_stage_append() {
     sed -i s#"-L${S}/lib"##g Qt*.pc
     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 
 }
 
 STAGE_TEMP = "${WORKDIR}/temp-staging"