diff -ur vsftpd-2.1.0.orig/vsf_findlibs.sh vsftpd-2.1.0/vsf_findlibs.sh --- vsftpd-2.1.0.orig/vsf_findlibs.sh 2009-02-23 18:32:17.000000000 +0100 +++ vsftpd-2.1.0/vsf_findlibs.sh 2009-02-23 18:32:23.000000000 +0100 @@ -42,14 +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"; -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";