TTimo/GtkRadiant — pull request #200 by zeehio (2013-07-07 21:10:43+00:00)
Title: Linking fix in Linux

There is an undefined reference error in Linux (ubuntu raring, gcc-4.7, ld 2.23.2), due to a bad argument order.

Libraries should be in the right order in the command line in order to be able to link them properly [1].

In our case, libxml was appended to LINKFLAGS instead of parsed like the rest of the libraries (and therefore appended **after** the compiled objects), causing multiple "undefined reference to" errors.

On the other hand, I could not find FinishBuild method due to bad indentation (it was nested too much). I have fixed this error, although I don't understand why libpng and libjpeg should be bundled.

Any comment or suggestion will be appreciated.

[1] http://stackoverflow.com/questions/45135/linker-order-gcc