[vlc-commits] commit: libvpx: make sure destdir exists for libvpx.a ( Rafaël Carré )
    git at videolan.org 
    git at videolan.org
       
    Fri Oct  8 22:13:12 CEST 2010
    
    
  
vlc | branch: master | Rafaël Carré <rafael.carre at gmail.com> | Fri Oct  8 22:12:54 2010 +0200| [c56850aac01fb75ed5d8d9d26e9293faa95848b8] | committer: Rafaël Carré 
libvpx: make sure destdir exists for libvpx.a
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c56850aac01fb75ed5d8d9d26e9293faa95848b8
---
 extras/contrib/src/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/extras/contrib/src/Makefile b/extras/contrib/src/Makefile
index da1604c..153bba5 100644
--- a/extras/contrib/src/Makefile
+++ b/extras/contrib/src/Makefile
@@ -970,7 +970,7 @@ endif
 	(cd $<; CROSS=$(HOST)- ./configure --target=$(VPX_TARGET) --disable-install-bins --disable-install-srcs --disable-install-libs --disable-examples && make && make install)
 	(rm -rf $(PREFIX)/include/vpx/ && mkdir $(PREFIX)/include/vpx/; cd $< && cp vpx/*.h vpx_ports/*.h $(PREFIX)/include/vpx/) # Of course, why the hell would one expect it to be listed or in make install?
 	rm $(PREFIX)/include/vpx/config.h
-	(cd $<; $(RANLIB) libvpx.a && cp libvpx.a $(PREFIX)/lib) # Of course, why the hell would one expect it to be listed or in make install?
+	(cd $<; $(RANLIB) libvpx.a && mkdir -p $(PREFIX)/lib && cp libvpx.a $(PREFIX)/lib/) # Of course, why the hell would one expect it to be listed or in make install?
 	touch $@
 
 CLEAN_FILE += .libvpx
    
    
More information about the vlc-commits
mailing list