1
0
mirror of http://mpg123.de/trunk/.git synced 2025-10-23 16:48:31 +03:00
Files
mpg123/makedll.sh
thor 8f69fb3501 disbale modules for dll build, as they won't do on windows anyway.
git-svn-id: svn://scm.orgis.org/mpg123/trunk@1166 35dc7657-300d-0410-a2e5-dc2837fedb53
2007-11-28 23:27:38 +00:00

20 lines
490 B
Bash

#!/bin/sh
if test -e Makefile; then
make clean
fi
options="$@"
echo "using options: $options"
CFLAGS="-march=i686" ./configure --disable-modules --with-cpu=x86_dither $options &&
cd src/libmpg123 &&
make &&
cp .libs/libmpg123-0.dll ../../ &&
cp .libs/libmpg123-0.dll.def ../../libmpg123-0.def
cd ../../ &&
echo "Now run that lib tool... perhaps you want to strip, too.
Hints:
strip --strip-unneeded libmpg123-0.dll
lib /machine:i386 /def:libmpg123-0.def" ||
echo You got some trouble.