This is the mail archive of the elfutils-devel@sourceware.org mailing list for the elfutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: release soonish


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?

Thanks,

Mark

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]