Fix the build enviroment to allow easy building as a Linux native application.
I suggest that this current 'linux' option be renamed to 'linux-iphone', which is for cross-building a iPhone application on a Linux machine.
Simon
Comment #1
Posted on May 17, 2011 by Quick WombatAdds supports for a native linux build. You can specify this using the '--target=native' option for configure.
'--target' seems to be defaultly set to 'iphone' so these changes should not affect other users.
- 0001-156_linux_build.patch 4.28KB
Comment #2
Posted on May 17, 2011 by Quick Wombatand the makefile needs adjustment
- 0002-156_linux_build.patch 1.29KB
Comment #3
Posted on May 17, 2011 by Swift Oxhi simon. without --target, it should build for native (and it does on mac as far as I remember). I just didn't check someone else's patch to fix --target=iphone compilation on linux.
Comment #4
Posted on Jun 4, 2011 by Swift Oxhi simon. I cleaned up the build that a plain configure && make will work on Ubuntu 10.10 (and all others too). I didn't have chance to test it, but it compiles at least. Could you give it a quick try?
Status: Fixed
Labels:
Type-Defect
Priority-Medium