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

Alan Coopersmith alan.coopersmith at oracle.com
Thu Sep 15 18:50:56 PDT 2011


On 09/15/11 05:57, Gaetan Nadon wrote:
> A couple of things to verify:
>
>   * OpenBSD still uses libtool 1.5

So does Solaris - 1.5.22, though I have a local install of 2.2
I usually use for building X.Org modules from git.

I don't think that's an issue though, as -module has worked fine
for us for many years - it's already used for several modules in
the xserver tree:

hw/xfree86/dri/Makefile.am:libdri_la_LDFLAGS = -module -avoid-version @LIBDRM_LIBS@
hw/xfree86/dri2/Makefile.am:libdri2_la_LDFLAGS = -module -avoid-version 
@LIBDRM_LIBS@
hw/xfree86/i2c/Makefile.am:bt829_drv_la_LDFLAGS = -module -avoid-version
[and many more in that file]

>   * Solaris is different enough to get a review for this

Also see no problems here, as noted above with the modules that
use it and work fine.

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



More information about the xorg-devel mailing list