setup-mingw-cross-compiling 468 B

1234567891011
  1. #!/bin/sh
  2. # qmake seems to be forcing include and lib paths from the original build
  3. # and I have no idea how to change these. For now, just override the
  4. # directories in the Makefile.Release file after qmake run.
  5. qmake -spec /q/jm/qt4-win/4.0.0/mkspecs/win32-g++ wpa_gui.pro -o Makefile
  6. cat Makefile.Release |
  7. sed s%qt4/lib%qt4-win/4.0.0/lib%g |
  8. sed s%qt4/include%qt4-win/4.0.0/include%g > tmp.Makefile.Release &&
  9. mv -f tmp.Makefile.Release Makefile.Release