[exim-cvs] Build: linux only needs libnsl for LOOKUP_NIS

Top Page
Delete this message
Reply to this message
Author: Exim Git Commits Mailing List
Date:  
To: exim-cvs
Subject: [exim-cvs] Build: linux only needs libnsl for LOOKUP_NIS
Gitweb: https://git.exim.org/exim.git/commitdiff/ec5bf0b83235d01ad0b2865d1819a603441f50f2
Commit:     ec5bf0b83235d01ad0b2865d1819a603441f50f2
Parent:     012dd02e8436a8451afc4a8f69e128e257566c80
Author:     Jeremy Harris <jgh146exb@???>
AuthorDate: Sun Sep 29 18:16:12 2019 +0100
Committer:  Jeremy Harris <jgh146exb@???>
CommitDate: Sun Sep 29 18:16:12 2019 +0100


    Build: linux only needs libnsl for LOOKUP_NIS
---
 src/OS/Makefile-Linux | 2 +-
 src/src/EDITME        | 3 +++
 2 files changed, 4 insertions(+), 1 deletion(-)


diff --git a/src/OS/Makefile-Linux b/src/OS/Makefile-Linux
index cbbe01f..ae9f249 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 965f058..906d50a 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