[PATCH v2 01/42] Xorg: Link XKB DDX library after core server libs

Daniel Stone daniel at fooishbar.org
Fri Dec 2 03:27:09 PST 2011


libxorgxkb.a contains a number of libraries which are used by XKB action
code to call back into the DDX, e.g. for VT switching, termination, grab
breaking, et al.  Make sure libxkb.a comes first in the link order, so
it can mark XkbDDX* as used in order for the linker to not discard them.

Signed-off-by: Daniel Stone <daniel at fooishbar.org>
---
 hw/xfree86/Makefile.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

v2: New.

diff --git a/hw/xfree86/Makefile.am b/hw/xfree86/Makefile.am
index 4f08772..38ac73c 100644
--- a/hw/xfree86/Makefile.am
+++ b/hw/xfree86/Makefile.am
@@ -56,8 +56,8 @@ LOCAL_LIBS = \
             ramdac/libramdac.la \
             ddc/libddc.la \
             i2c/libi2c.la \
-            dixmods/libxorgxkb.la \
             $(XORG_LIBS) \
+            dixmods/libxorgxkb.la \
             $(top_builddir)/mi/libmi.la \
             $(top_builddir)/os/libos.la
 Xorg_LDADD = \
-- 
1.7.7.3



More information about the xorg-devel mailing list