summaryrefslogtreecommitdiffstats
path: root/meta/packages/libtool/libtool-1.5.10/nousrlib.patch
blob: 1486337be5994a05acba7f962a94ccba17eea55f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
--- libtool-1.5.10.orig/ltmain.in
+++ libtool-1.5.10/ltmain.in
@@ -2637,8 +2637,6 @@
 	        add="$libdir/$linklib"
 	      fi
 	    else
-	      # We cannot seem to hardcode it, guess we'll fake it.
-	      add_dir="-L$libdir"
 	      # Try looking first in the location we're being installed to.
 	      if test -n "$inst_prefix_dir"; then
 		case "$libdir" in
--- libtool-1.5.10.orig/libltdl/ltmain.sh
+++ libtool-1.5.10/libltdl/ltmain.sh
@@ -2630,8 +2630,6 @@
 	        add="$libdir/$linklib"
 	      fi
 	    else
-	      # We cannot seem to hardcode it, guess we'll fake it.
-	      add_dir="-L$libdir"
 	      # Try looking first in the location we're being installed to.
 	      if test -n "$inst_prefix_dir"; then
 		case "$libdir" in
--- libtool-1.5.10.orig/ltmain.sh
+++ libtool-1.5.10/ltmain.sh
@@ -2630,8 +2630,6 @@
 	        add="$libdir/$linklib"
 	      fi
 	    else
-	      # We cannot seem to hardcode it, guess we'll fake it.
-	      add_dir="-L$libdir"
 	      # Try looking first in the location we're being installed to.
 	      if test -n "$inst_prefix_dir"; then
 		case "$libdir" in