[vlc-commits] Contribs: Qt: fix sed command for Qt5Gui.pc

Hannes Domani git at videolan.org
Mon May 30 10:22:34 CEST 2016


vlc | branch: master | Hannes Domani <ssbssa at yahoo.de> | Sun May 29 19:42:18 2016 +0200| [9a7dd96c792bf6b7dd8535eb448b9b2331123680] | committer: Jean-Baptiste Kempf

Contribs: Qt: fix sed command for Qt5Gui.pc

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9a7dd96c792bf6b7dd8535eb448b9b2331123680
---

 contrib/src/qt/rules.mak |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/src/qt/rules.mak b/contrib/src/qt/rules.mak
index 3ee62c9..f29853c 100644
--- a/contrib/src/qt/rules.mak
+++ b/contrib/src/qt/rules.mak
@@ -55,7 +55,7 @@ QT_CONFIG := -static -release -opensource -confirm-license -no-pkg-config \
 	# Fix .pc files to remove debug version (d)
 	cd $(PREFIX)/lib/pkgconfig; for i in Qt5Core.pc Qt5Gui.pc Qt5Widgets.pc; do sed -i -e 's/d\.a/.a/g' -e 's/d $$/ /' $$i; done
 	# Fix Qt5Gui.pc file to include qwindows (QWindowsIntegrationPlugin) and Qt5Platform Support
-	cd $(PREFIX)/lib/pkgconfig; do sed -i -e 's/ -lQt5Gui/ -lqwindows -lQt5PlatformSupport -lQt5Gui/g' Qt5Gui.pc; done
+	cd $(PREFIX)/lib/pkgconfig; sed -i -e 's/ -lQt5Gui/ -lqwindows -lQt5PlatformSupport -lQt5Gui/g' Qt5Gui.pc
 ifdef HAVE_CROSS_COMPILE
 	# Building Qt build tools for Xcompilation
 	cd $</include/QtCore; ln -sf $(QT_VERSION)/QtCore/private



More information about the vlc-commits mailing list