Fixing compilation of xorg-server/xnest with LDFLAGS="-Wl, --as-needed"

Hanno Böck ml at hboeck.de
Mon Jun 18 07:41:53 PDT 2007


Hi,

Compilation of latest xorg-server in git fails with some linkling errors if 
you use --as-needed.

It can be fixed by changing the order of the Libs in XNEST_LIBS. See attached 
patch.

Please apply.

-- 
Hanno Böck		Blog:   http://www.hboeck.de/
GPG: 3DBD3B20		Jabber: jabber at hboeck.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xorg-server-ldflags
Type: text/x-diff
Size: 827 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20070618/9748f2a0/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.x.org/archives/xorg/attachments/20070618/9748f2a0/attachment.pgp>


More information about the xorg mailing list