On 09/15/11 04:41 AM, Jeremy Huddleston wrote:
Actually, it looks like a bunch of drivers are not linking correctly to begin 
with, and nobody seems so have cared.

The Solaris linker does, and I've long added a bunch of libraries to my LDFLAGS for each driver on Solaris. If we're now interested in doing
this on all platforms, I can work on upstreaming those.

For instance:
http://src.opensolaris.org/source/xref/x-cons/xnv-clone/open-src/driver/xf86-video-vesa/Makefile#48

adds -lfb -lpciaccess -lshadow -lvbe

I definitely noticed in Xorg 1.10 that pretty much every module ends up
linking to libpixman due to some inline functions in the headers that
call libpixman functions directly.

--
        -Alan Coopersmith-        alan.coopersm...@oracle.com
         Oracle Solaris Platform Engineering: X Window System
_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to