Re: patch for versioned symbols in Heimdal shared library
Hi,
On Wed, 2007-07-11 at 21:28:17 -0700, Russ Allbery wrote:
> I do this in configure.ac:
>
> dnl If and only if we're on Linux, use a mapfile to do symbol versioning.
> dnl We'd like to do this on all platforms, but the syntax is different
> dnl everywhere and I don't feel like dealing with the differences.
> case "$host" in
> *-linux*)
This should probably be “*-gnu*)”, as this is dependent on ld and
should be fine on any GNU based system.
> VERSION_LDFLAGS="-Wl,--version-script=mapfile"
> ;;
> *)
> VERSION_LDFLAGS=""
> ;;
> esac
> AC_SUBST([VERSION_LDFLAGS])
regards,
guillem
Reply to: