Build: linux only needs libnsl for LOOKUP_NIS
authorJeremy Harris <jgh146exb@wizmail.org>
Sun, 29 Sep 2019 17:16:12 +0000 (18:16 +0100)
committerJeremy Harris <jgh146exb@wizmail.org>
Sun, 29 Sep 2019 17:16:12 +0000 (18:16 +0100)
src/OS/Makefile-Linux
src/src/EDITME

index cbbe01fe04a17ed62fa7a7daca46e6a5ae85c837..ae9f249a9abd896b1ac450524e3d9853cdf1ada5 100644 (file)
@@ -21,7 +21,7 @@ CFLAGS_DYNAMIC ?= -shared -rdynamic
 DBMLIB = -ldb
 USE_DB = yes
 
 DBMLIB = -ldb
 USE_DB = yes
 
-LIBS = -lnsl -lcrypt -lm
+LIBS = -lcrypt -lm
 LIBRESOLV = -lresolv
 
 X11=/usr/X11R6
 LIBRESOLV = -lresolv
 
 X11=/usr/X11R6
index 965f058bb14f091db5626bc8902972ac5bffe95a..906d50ae8608e9183c172bc674e312956c62a327 100644 (file)
@@ -432,6 +432,9 @@ LOOKUP_DNSDB=yes
 # LOOKUP_NWILDLSEARCH=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
 #------------------------------------------------------------------------------
 # 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