[Buildroot] [PATCH 11/16] package infrastructure: add LD_LIBRARY_PATH

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Mon Feb 22 19:21:10 UTC 2010


On Mon, 22 Feb 2010 16:59:38 +0100
Peter Korsgaard <jacmet at uclibc.org> wrote:

>  Thomas> -TARGET_MAKE_ENV=PATH=$(TARGET_PATH)
>  Thomas> +# During the compilation of target packages, host tools might be used,
>  Thomas> +# and in turn, they might use host libraries installed in
>  Thomas> +# $(HOST_DIR)/usr/lib
>  Thomas> +TARGET_MAKE_ENV=PATH=$(TARGET_PATH) \
>  Thomas> +		LD_LIBRARY_PATH="$(HOST_DIR)/usr/lib"
> 
> We should probably append to LD_LIBRARY_PATH in case it is set already.

Sure, you're right.

Thanks,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com


More information about the buildroot mailing list