Skip to content

Instantly share code, notes, and snippets.

@notahat
Created September 9, 2010 04:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save notahat/571372 to your computer and use it in GitHub Desktop.
Save notahat/571372 to your computer and use it in GitHub Desktop.
diff --git a/sysdeputil.c b/sysdeputil.c
index 66dbe30..9dc8a5e 100644
--- a/vsftpd-2.3.2/sysdeputil.c
+++ b/vsftpd-2.3.2/sysdeputil.c
@@ -64,10 +64,6 @@
#include <utmpx.h>
/* BEGIN config */
-#if defined(__APPLE__)
- #undef VSF_SYSDEP_HAVE_UTMPX
-#endif
-
#if defined(__linux__)
#include <errno.h>
#include <syscall.h>
diff --git a/vsf_findlibs.sh b/vsf_findlibs.sh
index 68d4a34..b988be6 100755
--- a/vsftpd-2.3.2/vsf_findlibs.sh
+++ b/vsftpd-2.3.2/vsf_findlibs.sh
@@ -20,8 +20,6 @@ if find_func pam_start sysdeputil.o; then
locate_library /usr/lib/libpam.sl && echo "-lpam";
# AIX ends shared libraries with .a
locate_library /usr/lib/libpam.a && echo "-lpam";
- # Mac OS X / Darwin shared libraries with .dylib
- locate_library /usr/lib/libpam.dylib && echo "-lpam";
else
locate_library /lib/libcrypt.so && echo "-lcrypt";
locate_library /usr/lib/libcrypt.so && echo "-lcrypt";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment