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