aboutsummaryrefslogtreecommitdiff
path: root/lib/libmpeg2/make-xbmc-lib-win32.sh
blob: f386922389cd14622d60e16804d3203539617152 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/bash 

if [ -d libmpeg2/.libs ]
then
rm -r libmpeg2/.libs
fi

if [ -f config.log ]
then
make distclean
fi

./configure \
 --with-pic \
  --disable-static \
  --enable-shared \
  --disable-directx \
  --disable-sdl \
  --without-x &&

make &&

strip libmpeg2/.libs/*.dll &&
cp libmpeg2/.libs/*.dll /xbmc/system/players/dvdplayer/