d7fdbd
From f8663f35d5d150f0533bb052e48306b9a5111d87 Mon Sep 17 00:00:00 2001
d7fdbd
From: =?UTF-8?q?Ond=C5=99ej=20Lyson=C4=9Bk?= <olysonek@redhat.com>
d7fdbd
Date: Tue, 6 Feb 2018 18:04:53 +0100
d7fdbd
Subject: [PATCH 50/59] Don't link with libnsl
d7fdbd
d7fdbd
Don't link with libnsl. It builds just fine without it and
d7fdbd
vsf_findlibs.sh enables it only when tcp_wrappers is enabled.
d7fdbd
---
d7fdbd
 Makefile | 2 +-
d7fdbd
 1 file changed, 1 insertion(+), 1 deletion(-)
d7fdbd
d7fdbd
diff --git a/Makefile b/Makefile
d7fdbd
index 612994e..0f7411c 100644
d7fdbd
--- a/Makefile
d7fdbd
+++ b/Makefile
d7fdbd
@@ -8,7 +8,7 @@ CFLAGS	=	-O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 \
d7fdbd
 	-D_FORTIFY_SOURCE=2 \
d7fdbd
 	#-pedantic -Wconversion
d7fdbd
 
d7fdbd
-LIBS	=	-lnsl -lpam -lcap -ldl -lcrypto
d7fdbd
+LIBS	=	-lpam -lcap -ldl -lcrypto
d7fdbd
 LINK	=	-Wl,-s
d7fdbd
 LDFLAGS	=	-fPIE -pie -Wl,-z,relro -Wl,-z,now
d7fdbd
 
d7fdbd
-- 
d7fdbd
2.14.4
d7fdbd