From 8c488ac3b3990cd203baed7f2127b9bed8aab534 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Thu, 18 Dec 2008 19:47:49 -0800 Subject: [PATCH] Fix linking of Xorg with dtrace probes on Solaris --- hw/xfree86/Makefile.am | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hw/xfree86/Makefile.am b/hw/xfree86/Makefile.am index 03c228c99..abdbe6a07 100644 --- a/hw/xfree86/Makefile.am +++ b/hw/xfree86/Makefile.am @@ -62,6 +62,11 @@ BUILT_SOURCES = xorg.conf.example DISTCLEANFILES += xorg.conf.example xorg.conf.example.pre EXTRA_DIST = xorgconf.cpp +if XSERVER_DTRACE +# Re-add dtrace object code that gets lost when building static libraries +Xorg_LDADD += $(XSERVER_LIBS) +endif + if SOLARIS_ASM_INLINE # Needs to be built before any files are compiled when using Sun compilers # so in*/out* inline definitions are properly processed.