summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHolger Freyther <zecke@selfish.org>2008-01-20 10:26:21 +0000
committerHolger Freyther <zecke@selfish.org>2008-01-20 10:26:21 +0000
commitac72466510af33cf5fc9b47b414b349bf2bbd068 (patch)
treed04ab65fa6ee09994e249bb5e53f7eca1af1c394
parent8d6b9e5c13410242ed3d110685761ac3c9f1887e (diff)
packages/qt4/qt_staging.inc: Treat the staged .la files as well to not point to the workdir
-rw-r--r--packages/qt4/qt_staging.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/qt4/qt_staging.inc b/packages/qt4/qt_staging.inc
index 8f7b9aa29f..9aa309d3af 100644
--- a/packages/qt4/qt_staging.inc
+++ b/packages/qt4/qt_staging.inc
@@ -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"