]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
test-subr.sh: Add ${libdir}/elfutils to LD_LIBRARY_PATH.
authorRoland McGrath <roland@hack.frob.com>
Tue, 21 Feb 2012 20:51:36 +0000 (12:51 -0800)
committerRoland McGrath <roland@hack.frob.com>
Tue, 21 Feb 2012 20:51:36 +0000 (12:51 -0800)
tests/ChangeLog
tests/test-subr.sh

index 38b189d5fa33c76c6af479ae2f5e432d2f1e9c26..028055b52f3dd9f529052d61f81fab36298e161c 100644 (file)
@@ -1,6 +1,7 @@
 2012-02-21  Roland McGrath  <roland@hack.frob.com>
 
        * test-wrapper.sh: Add ${libdir}/elfutils to LD_LIBRARY_PATH.
+       * test-subr.sh (installed_testrun): Likewise.
 
 2012-01-18  Roland McGrath  <roland@hack.frob.com>
 
index cb34b93bc98a7560477adfc2b75f2ea99531f09b..fb7a329dbdac43a75953cfd63fd2d7078a9b12ba 100644 (file)
@@ -1,5 +1,5 @@
 #! /bin/sh
-# Copyright (C) 2005, 2007, 2008 Red Hat, Inc.
+# Copyright (C) 2005-2012 Red Hat, Inc.
 # This file is part of Red Hat elfutils.
 #
 # Red Hat elfutils is free software; you can redistribute it and/or modify
@@ -99,7 +99,8 @@ 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+"$@"}