[PATCH 3/3] xfree86: Link modules with -module

Alan Coopersmith alan.coopersmith at oracle.com
Thu Sep 15 18:55:27 PDT 2011


> diff --git a/hw/xfree86/ramdac/Makefile.am b/hw/xfree86/ramdac/Makefile.am
> index 3c37805..d29ded5 100644
> --- a/hw/xfree86/ramdac/Makefile.am
> +++ b/hw/xfree86/ramdac/Makefile.am
> @@ -1,5 +1,6 @@
>   noinst_LTLIBRARIES = libramdac.la
>
> +libramdac_la_LDFLAGS = -module -avoid-version
>   libramdac_la_SOURCES = xf86RamDac.c xf86RamDacCmap.c \
>                         xf86Cursor.c xf86HWCurs.c IBM.c BT.c TI.c \
>   		      xf86BitOrder.c

Is this needed since libramdac isn't an installed module?  At least for me
it builds a static libramdac.a not a shared object at all.

-- 
	-Alan Coopersmith-        alan.coopersmith at oracle.com
	 Oracle Solaris Platform Engineering: X Window System



More information about the xorg-devel mailing list