Blame SOURCES/0050-Don-t-link-with-libnsl.patch

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