diff options
author | WiSo <wiso@xbmc.org> | 2011-03-05 21:07:56 +0100 |
---|---|---|
committer | WiSo <wiso@xbmc.org> | 2011-03-05 21:07:56 +0100 |
commit | 3d2bf20895b8d233249b1e231da8daa3f225bb6d (patch) | |
tree | b4319c915321fe0cc325607071127728127b3f1d /lib/libmpeg2 | |
parent | d7118e2ff20598264155f4496ea7ecfcda0e8a72 (diff) |
[WIN32] changed: build libmpeg2 with XBMC
Diffstat (limited to 'lib/libmpeg2')
-rw-r--r-- | lib/libmpeg2/make-xbmc-lib-win32.sh | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/lib/libmpeg2/make-xbmc-lib-win32.sh b/lib/libmpeg2/make-xbmc-lib-win32.sh index bd0066c199..f386922389 100644 --- a/lib/libmpeg2/make-xbmc-lib-win32.sh +++ b/lib/libmpeg2/make-xbmc-lib-win32.sh @@ -1,6 +1,14 @@ #!/bin/bash -make distclean >/dev/null 2>&1 +if [ -d libmpeg2/.libs ] +then +rm -r libmpeg2/.libs +fi + +if [ -f config.log ] +then +make distclean +fi ./configure \ --with-pic \ @@ -8,9 +16,9 @@ make distclean >/dev/null 2>&1 --enable-shared \ --disable-directx \ --disable-sdl \ - --without-x - -make + --without-x && -strip libmpeg2/.libs/*.dll +make && +strip libmpeg2/.libs/*.dll && +cp libmpeg2/.libs/*.dll /xbmc/system/players/dvdplayer/ |