~ubuntu-branches/ubuntu/lucid/wpasupplicant/lucid-updates

« back to all changes in this revision

Viewing changes to wpa_gui/setup-mingw-cross-compiling

  • Committer: Bazaar Package Importer
  • Author(s): Kel Modderman
  • Date: 2006-10-05 08:04:01 UTC
  • mfrom: (1.2.1 upstream)
  • mto: (2.1.15 feisty) (4.1.1 jaunty)
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: james.westby@ubuntu.com-20061005080401-vr9k4h57rm235f71
Tags: upstream-0.5.5
ImportĀ upstreamĀ versionĀ 0.5.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
 
 
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.
 
6
 
 
7
qmake -spec /q/jm/qt4-win/4.0.0/mkspecs/win32-g++ wpa_gui.pro -o Makefile
 
8
cat Makefile.Release |
 
9
    sed s%qt4/lib%qt4-win/4.0.0/lib%g |
 
10
    sed s%qt4/include%qt4-win/4.0.0/include%g > tmp.Makefile.Release &&
 
11
mv -f tmp.Makefile.Release Makefile.Release