On Fri, 13 May 2011, Francesco P. Lovergine wrote:
> On Fri, May 13, 2011 at 09:24:13AM +0200, Raphael Hertzog wrote:
> > There is an important difference though:
> > $ dpkg-buildflags --get LDFLAGS
> > $ DEB_VENDOR=ubuntu dpkg-buildflags --get LDFLAGS
> > -Wl,-Bsymbolic-functions
> > libgdal should be built with this linker option so that
> > it always uses the local copy of the geotiff functions
> > and not the one provided by the external library.
> Is this a (less flexible) alternative to specify a version script?
It's just a linker option (see man ld):
When creating a shared library, bind references to global symbols to the
definition within the shared library, if any. Normally, it is possible
program linked against a shared library to override the definition
shared library. This option is only meaningful on ELF platforms which
When creating a shared library, bind references to global function
the definition within the shared library, if any. This option is only
meaningful on ELF platforms which support shared libraries.
It doesn't change the version associated to the symbols AFAIK.
Raphaël Hertzog ◈ Debian Developer
Follow my Debian News ▶ http://RaphaelHertzog.com (English)
▶ http://RaphaelHertzog.fr (Français)
Pkg-grass-devel mailing list