summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2019-09-29 18:16:12 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2019-09-29 18:16:12 +0100
commitec5bf0b83235d01ad0b2865d1819a603441f50f2 (patch)
treeaf435b6b120b1235a1aa4fa4e544d8208cc7a04c
parent012dd02e8436a8451afc4a8f69e128e257566c80 (diff)
Build: linux only needs libnsl for LOOKUP_NIS
-rw-r--r--src/OS/Makefile-Linux2
-rw-r--r--src/src/EDITME3
2 files changed, 4 insertions, 1 deletions
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