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

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