vlc/vlc-1.1 | branch: master | Jean-Baptiste Kempf <[email protected]> | Wed 
Dec  8 22:56:24 2010 +0100| [bfa6b790c4db9d0d94c07a31d9704de22d34ccf6] | 
committer: Jean-Baptiste Kempf 

Contribs: fix MPC target
(cherry picked from commit b656bb75375d33740e53821071199f9ae58e427a)

---
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...
(cherry picked from commit 10a05481f119a020742e235133cbd6f6593a05a2)

Signed-off-by: Jean-Baptiste Kempf <[email protected]>

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

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

diff --git a/extras/contrib/src/Makefile b/extras/contrib/src/Makefile
index a9cd15a..7ade202 100644
--- a/extras/contrib/src/Makefile
+++ b/extras/contrib/src/Makefile
@@ -2045,6 +2045,10 @@ 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
 CLEAN_PKG += mpcdec

_______________________________________________
vlc-commits mailing list
[email protected]
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to