[PATCH] Build libxf86config with -fPIC.
Julien Cristau
jcristau at debian.org
Mon Nov 15 06:35:27 PST 2010
On Sun, Nov 14, 2010 at 21:31:42 -0800, Dan Nicholson wrote:
> Why not just make libxf86config into a libtool library? Then libtool
> will take care of all the PIC details, follow the --with-pic
> configuration, and be static or shared as requested by the user.
> Here's an untested diff, but I think it's all it would take (gmail has
> surely broken the whitespace).
>
If you want to install it as a shared library you also want to track its
ABI and give it a SONAME, which is more work. Shipping it as a PIC
static lib which you don't have to be as careful with possible ABI
breaks, but you can still embed it in something like a python module
(which must be PIC).
Cheers,
Julien
More information about the xorg-devel
mailing list