From: Jeremy Harris Date: Sun, 29 Sep 2019 17:16:12 +0000 (+0100) Subject: Build: linux only needs libnsl for LOOKUP_NIS X-Git-Tag: exim-4.93-RC0~36 X-Git-Url: https://git.exim.org/exim.git/commitdiff_plain/ec5bf0b83235d01ad0b2865d1819a603441f50f2 Build: linux only needs libnsl for LOOKUP_NIS --- diff --git a/src/OS/Makefile-Linux b/src/OS/Makefile-Linux index cbbe01fe0..ae9f249a9 100644 --- a/src/OS/Makefile-Linux +++ b/src/OS/Makefile-Linux @@ -21,7 +21,7 @@ CFLAGS_DYNAMIC ?= -shared -rdynamic DBMLIB = -ldb USE_DB = yes -LIBS = -lnsl -lcrypt -lm +LIBS = -lcrypt -lm LIBRESOLV = -lresolv X11=/usr/X11R6 diff --git a/src/src/EDITME b/src/src/EDITME index 965f058bb..906d50ae8 100644 --- a/src/src/EDITME +++ b/src/src/EDITME @@ -432,6 +432,9 @@ LOOKUP_DNSDB=yes # LOOKUP_NWILDLSEARCH=yes +# Some platforms may need this for LOOKUP_NIS: +# LIBS += -lnsl + #------------------------------------------------------------------------------ # If you have set LOOKUP_LDAP=yes, you should set LDAP_LIB_TYPE to indicate # which LDAP library you have. Unfortunately, though most of their functions