summaryrefslogtreecommitdiff
path: root/packages/qt4
diff options
context:
space:
mode:
Diffstat (limited to 'packages/qt4')
-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"