aboutsummaryrefslogtreecommitdiffstats
path: root/main/sudo/libcrypt.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/sudo/libcrypt.patch')
-rw-r--r--main/sudo/libcrypt.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/main/sudo/libcrypt.patch b/main/sudo/libcrypt.patch
new file mode 100644
index 0000000000..0bab038632
--- /dev/null
+++ b/main/sudo/libcrypt.patch
@@ -0,0 +1,11 @@
+--- ./plugins/sudoers/Makefile.in.orig
++++ ./plugins/sudoers/Makefile.in
+@@ -45,7 +45,7 @@
+ # Libraries
+ LIBS = $(top_builddir)/common/libcommon.la $(top_builddir)/@ac_config_libobj_dir@/libreplace.la
+ NET_LIBS = @NET_LIBS@
+-SUDOERS_LIBS = @SUDOERS_LIBS@ @AFS_LIBS@ @GETGROUPS_LIB@ $(LIBS) $(NET_LIBS) @ZLIB@
++SUDOERS_LIBS = @SUDOERS_LIBS@ @AFS_LIBS@ @GETGROUPS_LIB@ $(LIBS) $(NET_LIBS) @ZLIB@ -lcrypt
+ REPLAY_LIBS = @REPLAY_LIBS@ @ZLIB@
+
+ # C preprocessor flags