setup-mingw-cross-compiling 505 B

12345678910111213
  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.3.3/mkspecs/win32-g++ wpa_gui.pro -o Makefile
  6. cat Makefile.Release |
  7. sed s%/usr/lib/qt4%/q/jm/qt4-win/4.3.3/lib%g |
  8. sed s%/usr/include/qt4%/q/jm/qt4-win/4.3.3/include%g > tmp.Makefile.Release &&
  9. mv -f tmp.Makefile.Release Makefile.Release
  10. make -C icons