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

Peter Korsgaard jacmet at uclibc.org
Mon Feb 22 15:59:38 UTC 2010


>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni at free-electrons.com> writes:

 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. Therefore, we pass a LD_LIBRARY_PATH variable
 Thomas> when building packages.
 
 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.

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list