On Tue, 2012-02-21 at 21:43 +0100, Mark Wielaard wrote:
On Tue, Feb 21, 2012 at 11:14:52AM -0800, Roland McGrath wrote:
Otherwise the tests won't find the libebl backends. Does that make sense or is there some other trick I am missing?
It doesn't seem proper to set libdir to something other than libdir. I changed test-wrapper.sh instead. Please verify it works right.
It seems better to change test-wrapper.sh instead. Sadly the current change doesn't work fully. I also need the following change:
diff --git a/tests/test-subr.sh b/tests/test-subr.sh index cb34b93..f91f1cb 100644 --- a/tests/test-subr.sh +++ b/tests/test-subr.sh @@ -99,7 +99,7 @@ installed_testrun() ;; esac if [ "${libdir}" != /usr/lib ] && [ "${libdir}" != /usr/lib64 ]; then
- LD_LIBRARY_PATH="${libdir}${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH" \
- LD_LIBRARY_PATH="${libdir}:${libdir}/elfutils${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH" \ $program ${1+"$@"} else $program ${1+"$@"}
Does that look sane?
I see you added a similar change to git master. With that make distcheck works out of the box for me (if setting the version to 0.153 in configure.ac).
Thanks,
Mark