Expand PMF_FN_* macros.
[netbsd-mini2440.git] / dist / wpa / wpa_supplicant / wpa_gui-qt4 / setup-mingw-cross-compiling
blob07e4a8fb6b98dd0d1b0ab4e1145a0c364a54dfce
1 #!/bin/sh
3 # qmake seems to be forcing include and lib paths from the original build
4 # and I have no idea how to change these. For now, just override the
5 # directories in the Makefile.Release file after qmake run.
7 qmake -spec /q/jm/qt4-win/4.3.3/mkspecs/win32-g++ wpa_gui.pro -o Makefile
8 cat Makefile.Release |
9 sed s%/usr/lib/qt4%/q/jm/qt4-win/4.3.3/lib%g |
10 sed s%/usr/include/qt4%/q/jm/qt4-win/4.3.3/include%g > tmp.Makefile.Release &&
11 mv -f tmp.Makefile.Release Makefile.Release