Tim Mayberry
2379321355
A large part of the packaging is shared in package.sh, this approach should work on windows with another dll list in package-waves.sh and redefined copydll function(which I've added untested as copydll-waves.sh) Also add support for 64bit mingw builds via ARCH env variable. If unset defaults to 32bit build
13 lines
211 B
Bash
Executable File
13 lines
211 B
Bash
Executable File
#!/bin/bash
|
|
|
|
function copydll () {
|
|
if [ -f $MINGW_ROOT/bin/$1 ] ; then
|
|
echo "cp $MINGW_ROOT/bin/$1 $2"
|
|
cp $MINGW_ROOT/bin/$1 $2 || return 1
|
|
return 0
|
|
fi
|
|
|
|
echo "ERROR: File $1 does not exist"
|
|
return 1
|
|
}
|