[vlc-commits] commit: Contribs: be sure that the folder exists before copying something in it ( Jean-Baptiste Kempf )
git at videolan.org
git at videolan.org
Mon Jan 17 01:25:48 CET 2011
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Jan 17 01:25:28 2011 +0100| [eb6ffb77966589e6f10e2b8b28d5b541b194d0ec] | committer: Jean-Baptiste Kempf
Contribs: be sure that the folder exists before copying something in it
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=eb6ffb77966589e6f10e2b8b28d5b541b194d0ec
---
extras/contrib/src/contrib-src.mak | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/extras/contrib/src/contrib-src.mak b/extras/contrib/src/contrib-src.mak
index d90f477..ed32efe 100644
--- a/extras/contrib/src/contrib-src.mak
+++ b/extras/contrib/src/contrib-src.mak
@@ -2065,10 +2065,10 @@ endif
.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)
+ (cd $<; mkdir -p $(PREFIX)/lib && cp libmpcdec/libmpcdec_static.a $(PREFIX)/lib/libmpcdec.a)
endif
ifdef HAVE_MACOSX
- (cd $<; cp libmpcdec/libmpcdec.dylib $(PREFIX)/lib/libmpcdec.dylib)
+ (cd $<; mkdir -p $(PREFIX)/lib && cp libmpcdec/libmpcdec.dylib $(PREFIX)/lib/libmpcdec.dylib)
endif
touch $@
More information about the vlc-commits
mailing list