From ec5bf0b83235d01ad0b2865d1819a603441f50f2 Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Sun, 29 Sep 2019 18:16:12 +0100 Subject: [PATCH] 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 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 -- 2.25.1