summaryrefslogtreecommitdiff
path: root/package/libpcap/patches/patch-pcap-config_in
blob: b50f6fb4830927b17ae43f906bd9275267f05746 (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
--- libpcap-1.1.1.orig/pcap-config.in	2010-03-12 02:56:54.000000000 +0100
+++ libpcap-1.1.1/pcap-config.in	2011-01-06 21:29:12.000000000 +0100
@@ -29,16 +29,6 @@ do
 	esac
 	shift
 done
-if [ "@V_RPATH_OPT@" != "" ]
-then
-	#
-	# If libdir isn't /usr/lib, add it to the run-time linker path.
-	#
-	if [ "@libdir@" != "/usr/lib" ]
-	then
-		RPATH=@V_RPATH_OPT@@libdir@
-	fi
-fi
 if [ "$static" = 1 ]
 then
 	#
@@ -77,6 +67,6 @@ else
 		echo "-I@includedir@"
 	elif [ "$show_libs" = 1 ]
 	then
-		echo "-L@libdir@ $RPATH -lpcap"
+		echo "-L@libdir@ -lpcap"
 	fi
 fi