source: pkg/kev/main/libtool/trunk/debian/patches/bogus_directory.patch @ 5614

Revision 5614, 933 bytes checked in by alanbach-guest, 4 years ago (diff)
  • Sync'd with Debian 2.2.6a-4
RevLine 
[5614]12009-02-28  Török Edwin  <edwintorok@gmail.com>  (tiny change)
2            Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3
4        Do not add bogus directory arguments to link command lines.
5        * libltdl/config/ltmain.m4sh (func_mode_link): Ensure $path is
6        always initialized before it is used.  Reported for zsh, for
7        which $path contains $PATH entries even after "emulate sh", see
8        <http://bugs.debian.org/517501>.
9
10Index: libtool-2.2.6a/libltdl/config/ltmain.m4sh
11===================================================================
12--- libtool-2.2.6a.orig/libltdl/config/ltmain.m4sh      2009-04-07 19:48:31.000000000 +0200
13+++ libtool-2.2.6a/libltdl/config/ltmain.m4sh   2009-04-07 23:04:27.000000000 +0200
14@@ -5454,6 +5454,7 @@
15          if test "$link_all_deplibs" != no; then
16            # Add the search paths of all dependency libraries
17            for deplib in $dependency_libs; do
18+             path=
19              case $deplib in
20              -L*) path="$deplib" ;;
21              *.la)
Note: See TracBrowser for help on using the repository browser.