[PATCH] Build libxf86config with -fPIC.
Gaetan Nadon
memsize at videotron.ca
Mon Nov 15 06:15:09 PST 2010
On Sun, 2010-11-14 at 21:31 -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 there is a need for a shared library, then that's the way to go. I
can understand there was a quick fix
on one distro which is Linux only. Is this option gcc only?
With the patch, will the library work correctly on all the supported
platforms?
From Automake manual:
Building shared libraries portably is a relatively complex matter.
For this reason, GNU Libtool (see Introduction) was created to help build
shared libraries in a platform-independent way.
List of non shared libraries:
xfree86/parser/Makefile.am:lib_LIBRARIES = libxf86config.a
vfb/Makefile.am:noinst_LIBRARIES = libfbcmap.a
dmx/input/Makefile.am:noinst_LIBRARIES = libdmxinput.a
dmx/glxProxy/Makefile.am:noinst_LIBRARIES = libglxproxy.a
dmx/config/Makefile.am:noinst_LIBRARIES = libdmxconfig.a
xnest/Makefile.am:noinst_LIBRARIES = libfbcmap.a
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg-devel/attachments/20101115/039abe88/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.x.org/archives/xorg-devel/attachments/20101115/039abe88/attachment.pgp>
More information about the xorg-devel
mailing list