[PATCH modular 06/13] build.sh: allow user to specify an alternate libdir
daniel at fooishbar.org
Wed Dec 29 09:52:28 PST 2010
On Wed, Dec 29, 2010 at 10:44:24AM -0500, Gaetan Nadon wrote:
> Modules can be configured with --libdir to provide an alternate
> location for object cod libraries. The default value is EPREFIX/lib.
> The PKG_CONFIG_PATH, LD_LIBRARY_PATH and FONTPATH are set with
> a value of PREFIX/$LIBDIR which does not allow a different prefix
> as does the --libdir option.
> The meaning of the exisitng LIBDIR is aligned with similar variables
> to allow the user to provide a libdir that is not restricted to be
> under PREFIX.
> If a value other than the default value is used,
> the CONFCMD emitted will reflect that with --libdir option.
> For environments already having LIBDIR set as a path segment
> (e.g. "lib64"), this will no longer work. The next patch will perform
> error checking, ensuring all these *DIR variables are full paths
> This will also fix the annoyance where the --libdir was always
> emitted even if the default value was used.
It might be nice to revert to using $PREFIX/$LIBDIR in the case where
$LIBDIR is a relative path, or at least where it does not contain a /.
Other than that, with v2 of patch 14, for the series:
Acked-by: Daniel Stone <daniel at fooishbar.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: Digital signature
More information about the xorg-devel