[WIN32] changed: only mkdir if directory won't exist
authorWiSo <wiso@xbmc.org>
Sat, 21 May 2011 20:12:11 +0000 (22:12 +0200)
committerWiSo <wiso@xbmc.org>
Sat, 21 May 2011 20:12:11 +0000 (22:12 +0200)
lib/ffmpeg/build_xbmc_win32.sh

index 99ed5ee..7e3c6c5 100644 (file)
@@ -9,6 +9,10 @@ then
   make distclean
 fi
 
+if [! -d .libs ]; then
+  mkdir .libs
+fi
+
 OPTIONS="
 --enable-shared \
 --enable-memalign-hack \
@@ -36,8 +40,7 @@ OPTIONS="
 
 ./configure --extra-cflags="-fno-common -Iinclude-xbmc-win32/dxva2" --extra-ldflags="-L/xbmc/system/players/dvdplayer" ${OPTIONS} &&
  
-make && 
-mkdir .libs &&
+make &&
 cp lib*/*.dll .libs/ &&
 mv .libs/swscale-0.dll .libs/swscale-0.6.1.dll &&
 cp .libs/avcodec-52.dll /xbmc/system/players/dvdplayer/ &&