[vlc-commits] Contribs: fix .pc files in release mode

Jean-Baptiste Kempf git at videolan.org
Fri Mar 18 13:28:27 CET 2016


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Mar 18 13:07:38 2016 +0100| [2b790c68518d6d0a7e37d607cdb9c9589ee7cf16] | committer: Jean-Baptiste Kempf

Contribs: fix .pc files in release mode

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

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

diff --git a/contrib/src/qt/rules.mak b/contrib/src/qt/rules.mak
index 2da2cfb..19a332c 100644
--- a/contrib/src/qt/rules.mak
+++ b/contrib/src/qt/rules.mak
@@ -52,6 +52,8 @@ QT_CONFIG := -static -release -opensource -confirm-license -no-pkg-config \
 	cp $(PREFIX)/include/QtGui/$(QT_VERSION)/QtGui/qpa/qplatformnativeinterface.h $(PREFIX)/include/QtGui/qpa
 	# Clean Qt mess
 	rm -rf $(PREFIX)/lib/libQt5Bootstrap* $(PREFIX)/lib/*.prl $(PREFIX)/mkspecs
+	# Fix .pc files
+	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
 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