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
signature.asc
Description: This is a digitally signed message part
_______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
