f6e8b52
From 4ac454f3d239df546f92056d70dfef1257bbda7a Mon Sep 17 00:00:00 2001
f6e8b52
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
f6e8b52
Date: Mon, 12 Feb 2018 11:05:08 +0100
f6e8b52
Subject: [PATCH] Do not link to nsl library
f6e8b52
MIME-Version: 1.0
f6e8b52
Content-Type: text/plain; charset=UTF-8
f6e8b52
Content-Transfer-Encoding: 8bit
f6e8b52
f6e8b52
Net-Patricia code does not uses any symbols from nsl library, there is
f6e8b52
no need to link to it. Actually it causes build failures on systems
f6e8b52
that moved nsl library from glibc to separate project
f6e8b52
<https://github.com/thkukuk/libnsl>.
f6e8b52
f6e8b52
CPAN RT#124088
f6e8b52
f6e8b52
Signed-off-by: Petr Písař <ppisar@redhat.com>
f6e8b52
---
f6e8b52
 Makefile.PL | 1 -
f6e8b52
 1 file changed, 1 deletion(-)
f6e8b52
f6e8b52
diff --git a/Makefile.PL b/Makefile.PL
f6e8b52
index acd0918..c023e43 100644
f6e8b52
--- a/Makefile.PL
f6e8b52
+++ b/Makefile.PL
f6e8b52
@@ -5,7 +5,6 @@ use ExtUtils::MakeMaker;
f6e8b52
 WriteMakefile(
f6e8b52
     'NAME'	=> 'Net::Patricia',
f6e8b52
     'VERSION_FROM' => 'Patricia.pm', # finds $VERSION
f6e8b52
-    'LIBS'	=> ['-lnsl'],   # e.g., '-lm' 
f6e8b52
     'DEFINE'	=> '',     # e.g., '-DHAVE_SOMETHING' 
f6e8b52
     'INC'	=> '',     # e.g., '-I/usr/include/other' 
f6e8b52
     'MYEXTLIB'	=> 'libpatricia/libpatricia$(LIB_EXT)',     # e.g., '-I/usr/include/other' 
f6e8b52
-- 
f6e8b52
2.13.6
f6e8b52