[PATCH 1/6] Add MAIN_LIB as the first library to server libs

Tiago Vignatti tiago.vignatti at nokia.com
Wed Aug 4 09:06:27 PDT 2010


On Tue, Aug 03, 2010 at 10:34:10PM +0200, ext Tomas Carnecky wrote:
> MAIN_LIB only implements the main() method and doesn't provide anything
> that other libraries would depend on. So it can go as the very first
> into the set of libraries linked to each server.
> One exception is darwin/xquartz which redefines main() to dix_main() and
> then calls it from somewhere inside hw/xquartz/. But this change doesn't
> affect xquartz because the library which calls dix_main() (libXquartz.la)
> is passed before $(DARWIN_LIBS) to X11.bin.

Looks nice!

One thing: test/ has its own main.c. Are you sure it's safe with your changes?


Cheers,
        Tiago


More information about the xorg-devel mailing list