On Thu, Jul 01, 2010 at 08:13:27PM +0200, m0n0 wrote: > Hello, > > this patches enables MiNT users linking with libnsfb without hassle and > without further need of patching the sdl.pc file. > Without this patch, the developer needs to patch sdl.pc - because the > compiler complaints about doubly defined references to system functions > caused by the --whole-archive flag. > > the -u hack is needed because the function _sdl_register_frontend must be > referenced by netsurf - otherwise it's not linked into netsurf (at least > not without the --whole-archive flag) and therefore not called before main.
Thankyou for this patch which I have read and considered. I am currently not altering the libnsfb makefiles at all as Daniel Silverstone has promised to update them with an improved system. There are a lot of things which need fixing both within libnsfb and NetSurf itself right now and the build system is not (currently) a priority however I am sure all your valuble feedback will be taken into account when the re-implementation occours.. -- Regards Vincent http://www.kyllikki.org/
