[PATCH] test: fix RPATH in the test suite

Denys Vlasenko vda.linux at googlemail.com
Mon Feb 2 23:17:14 UTC 2009


On Wednesday 28 January 2009 16:39, Carmelo AMOROSO wrote:
> Folks,
> while reviewing test suite, found an issue in setting RPATH
> when TEST_INSTALLED_UCLIBC is not set.
> The attached patch should fix it.
> --------
> 
> Build tests setting RPATH to ./ instead of $(top_builddir)lib
> to allow tests using their shared libraries to be loaded
> without setting LD_LIBRARY_PATH.
> When TEST_INSTALLED_UCLIBC is set, it doesn't need to set the RPATH,
> otherwise ass to the RPATH the $(top_builddir)lib too.
> UCLIBC_LDSO_ABSPATH is untouched.
> 
> Signed-off-by: Carmelo Amoroso <carmelo.amoroso at st.com>


Can you provide before and after results
of "readelf -W -a test/args/arg_test" ?

--
vda


More information about the uClibc mailing list