summaryrefslogtreecommitdiff
blob: d36fa37ffe4076fbfa2b1cc79c86ff446ceaadbf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
diff -ur vsftpd-2.1.2.orig/vsf_findlibs.sh vsftpd-2.1.2/vsf_findlibs.sh
--- vsftpd-2.1.2.orig/vsf_findlibs.sh	2009-05-30 12:43:33.000000000 +0200
+++ vsftpd-2.1.2/vsf_findlibs.sh	2009-05-30 12:44:41.000000000 +0200
@@ -42,16 +42,6 @@
 # For older HP-UX...
 locate_library /usr/lib/libsec.sl && echo "-lsec";
 
-# Look for libcap (capabilities)
-if locate_library /lib/libcap.so.1; then
-  echo "/lib/libcap.so.1";
-elif locate_library /lib/libcap.so.2; then
-  echo "/lib/libcap.so.2";
-else
-  locate_library /usr/lib/libcap.so && echo "-lcap";
-  locate_library /lib/libcap.so && echo "-lcap";
-fi
-
 # Solaris needs this for nanosleep()..
 locate_library /lib/libposix4.so && echo "-lposix4";
 locate_library /usr/lib/libposix4.so && echo "-lposix4";