[vlc-commits] contribs: mpcdec: Fix library copy rule
Hugo Beauzée-Luyssen
git at videolan.org
Mon May 16 17:18:15 CEST 2016
vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Mon May 16 16:58:11 2016 +0200| [64e000bba8c7eb09beb68597f495ab84c37fcb0a] | committer: Hugo Beauzée-Luyssen
contribs: mpcdec: Fix library copy rule
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=64e000bba8c7eb09beb68597f495ab84c37fcb0a
---
contrib/src/mpcdec/rules.mak | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/contrib/src/mpcdec/rules.mak b/contrib/src/mpcdec/rules.mak
index 44cab85..72bfc7a 100644
--- a/contrib/src/mpcdec/rules.mak
+++ b/contrib/src/mpcdec/rules.mak
@@ -46,5 +46,9 @@ endif
cd $< && $(HOSTVARS_PIC) $(CMAKE) -DSHARED=OFF .
cd $< && $(MAKE) install
mkdir -p -- "$(PREFIX)/lib"
+ifdef HAVE_WIN32
+ cd $< && cp libmpcdec/mpcdec_static.lib "$(PREFIX)/lib/libmpcdec.a"
+else
cd $< && cp libmpcdec/libmpcdec_static.a "$(PREFIX)/lib/libmpcdec.a"
+endif
touch $@
More information about the vlc-commits
mailing list