File: MakeFakeWin.sh

package info (click to toggle)
python-gammu 0.26-1
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 648 kB
  • ctags: 643
  • sloc: ansic: 9,254; python: 1,770; makefile: 77; sh: 8
file content (12 lines) | stat: -rwxr-xr-x 254 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash

if ! type $1-gcc > /dev/null; then
    echo "Usage: $0 MinGW-prefix"
    exit 1
fi

$1-gcc mingw/wine_linux_launcher.c -o wine_linux_launcher.exe

for i in gcc g++ dllwrap windres wx-config; do
    ln -sf wine_linux_launcher.exe $i.exe
done