#25 Patch to use libtool-style LIBINTL

open
nobody
None
5
2012-11-28
2006-02-10
No

The attached patch make use of libtool-style
LTLIBINTL variable instead of LIBINTL variable, so
that it does not hardcode libraries paths.
The reason of this is that linking e2fsck.static with
libintl provided by gettext would result in a static
linkage of a shared object (as LIBINTL figures
at /usr/lib/libintl.so).
With the attached patch, instead, the link happen by
using -L/usr/lib -lintl so that the static version is
selected when needed.

HTH,
Diego Pettenò <flameeyes@gentoo.org>

Discussion

  • Theodore Ts'o
    Theodore Ts'o
    2008-01-04

    Logged In: YES
    user_id=628
    Originator: NO

    Thanks. I need to refresh e2fsprogs with a completely new built-in intl library anyway, so that's probably when I will address this.