[vlc-devel] commit: Build XCB statically, and hack pkg-config file accordingly ( Rémi Denis-Courmont )

git version control git at videolan.org
Thu Feb 4 21:10:34 CET 2010


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Feb  4 22:00:16 2010 +0200| [74018e183864e21ad10c9724f9883170de6f7fae] | committer: Rémi Denis-Courmont 

Build XCB statically, and hack pkg-config file accordingly

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

 extras/contrib/src/Makefile |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/extras/contrib/src/Makefile b/extras/contrib/src/Makefile
index 95f1e31..7ca5dd8 100644
--- a/extras/contrib/src/Makefile
+++ b/extras/contrib/src/Makefile
@@ -2571,6 +2571,7 @@ libxcb: libxcb-$(XCB_VERSION).tar.bz2
 
 .xcb: libxcb
 	cd $< && $(HOSTCC) ./configure $(HOSTCONF) --prefix=$(PREFIX) \
+		--disable-shared \
 		--disable-composite \
 		--disable-damage \
 		--disable-dpms \
@@ -2594,6 +2595,8 @@ libxcb: libxcb-$(XCB_VERSION).tar.bz2
 		--enable-xv \
 		--disable-xvmc \
 		--disable-build-docs
+	cd $< && make
+	cd $< && sed -i -e s,^Requires.private:,Requires:,g xcb.pc
 	cd $< && make install
 	touch $@
 




More information about the vlc-devel mailing list