Commit bfa6b790 authored by Jean-Baptiste Kempf's avatar 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: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 777514e9
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment