[vlc-commits] commit: Contribs: fix mpc... (Jean-Baptiste Kempf )

git at videolan.org git at videolan.org
Sun Dec 12 23:53:33 CET 2010


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Dec 12 23:51:36 2010 +0100| [10a05481f119a020742e235133cbd6f6593a05a2] | committer: Jean-Baptiste Kempf 

Contribs: fix mpc...

Sure, naming a static library *_static.a is _VERY_ useful
(and helps the linker find it... not)
And of course, installing .svn on make install is clever

Do not ask me why noone uses MPC these days...

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

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

diff --git a/extras/contrib/src/contrib-src.mak b/extras/contrib/src/contrib-src.mak
index cf7c281..af937f9 100644
--- a/extras/contrib/src/contrib-src.mak
+++ b/extras/contrib/src/contrib-src.mak
@@ -2058,6 +2058,9 @@ mpcdec:
 
 .mpcdec: mpcdec
 	(cd $<; cmake . -DCMAKE_TOOLCHAIN_FILE=../../toolchain.cmake -DCMAKE_INSTALL_PREFIX=$(PREFIX) && make install)
+ifdef HAVE_WIN32
+	(cd $<; cp libmpcdec/libmpcdec_static.a $(PREFIX)/lib/libmpcdec.a)
+endif
 	touch $@
 
 CLEAN_FILE += .mpcdec



More information about the vlc-commits mailing list