File: bogus_directory.patch

package info (click to toggle)
libtool 2.2.6b-2
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 10,740 kB
  • ctags: 1,236
  • sloc: sh: 25,677; ansic: 5,052; makefile: 1,149; pascal: 131; cpp: 121; fortran: 37; f90: 37
file content (21 lines) | stat: -rw-r--r-- 933 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
2009-02-28  Török Edwin  <edwintorok@gmail.com>  (tiny change)
	    Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>

	Do not add bogus directory arguments to link command lines.
	* libltdl/config/ltmain.m4sh (func_mode_link): Ensure $path is
	always initialized before it is used.  Reported for zsh, for
	which $path contains $PATH entries even after "emulate sh", see
	<http://bugs.debian.org/517501>.

Index: libtool-2.2.6a/libltdl/config/ltmain.m4sh
===================================================================
--- libtool-2.2.6a.orig/libltdl/config/ltmain.m4sh	2009-04-07 19:48:31.000000000 +0200
+++ libtool-2.2.6a/libltdl/config/ltmain.m4sh	2009-04-07 23:04:27.000000000 +0200
@@ -5454,6 +5454,7 @@
 	  if test "$link_all_deplibs" != no; then
 	    # Add the search paths of all dependency libraries
 	    for deplib in $dependency_libs; do
+	      path=
 	      case $deplib in
 	      -L*) path="$deplib" ;;
 	      *.la)