2012-04-11 14:03:42 +02:00
|
|
|
Index: vsf_findlibs.sh
|
|
|
|
===================================================================
|
2016-08-31 20:18:20 +02:00
|
|
|
--- vsf_findlibs.sh.orig
|
|
|
|
+++ vsf_findlibs.sh
|
|
|
|
@@ -14,6 +14,7 @@ fi
|
2007-01-16 00:40:43 +01:00
|
|
|
# crypt library.
|
|
|
|
if find_func pam_start sysdeputil.o; then
|
|
|
|
locate_library /lib/libpam.so.0 && echo "/lib/libpam.so.0";
|
|
|
|
+ locate_library /lib64/libpam.so.0 && echo "/lib64/libpam.so.0";
|
|
|
|
locate_library /usr/lib/libpam.so && echo "-lpam";
|
2010-04-16 10:42:19 +02:00
|
|
|
locate_library /usr/lib64/libpam.so && echo "-lpam";
|
2012-04-11 14:03:42 +02:00
|
|
|
locate_library /lib/x86_64-linux-gnu/libpam.so.0 && echo "-lpam";
|
2016-08-31 20:18:20 +02:00
|
|
|
@@ -23,6 +24,7 @@ if find_func pam_start sysdeputil.o; the
|
2007-01-16 00:40:43 +01:00
|
|
|
locate_library /usr/lib/libpam.a && echo "-lpam";
|
|
|
|
else
|
|
|
|
locate_library /lib/libcrypt.so && echo "-lcrypt";
|
|
|
|
+ locate_library /lib64/libcrypt.so && echo "-lcrypt";
|
|
|
|
locate_library /usr/lib/libcrypt.so && echo "-lcrypt";
|
2010-04-16 10:42:19 +02:00
|
|
|
locate_library /usr/lib64/libcrypt.so && echo "-lcrypt";
|
2012-04-11 14:03:42 +02:00
|
|
|
locate_library /lib/x86_64-linux-gnu/libcrypt.so && echo "-lcrypt";
|
2016-08-31 20:18:20 +02:00
|
|
|
@@ -54,6 +56,7 @@ elif locate_library /lib/libcap.so.2; th
|
|
|
|
echo "/lib/libcap.so.2";
|
|
|
|
else
|
|
|
|
locate_library /usr/lib/libcap.so && echo "-lcap";
|
|
|
|
+ locate_library /usr/lib64/libcap.so && echo "-lcap";
|
|
|
|
locate_library /lib/libcap.so && echo "-lcap";
|
|
|
|
locate_library /lib64/libcap.so && echo "-lcap";
|
|
|
|
fi
|