890b4e46ad
Adapted from submission in PR#39542. Adds a patch to portably pull in $Config{ldflags} to avoid run-path lossage which would otherwise ensue. Provides bindings for GNU Libidn, a C library for handling Internationalized Domain Names according to IDNA (RFC 3490), in a way very much inspired by Turbo Fredriksson's PHP-IDN.
21 lines
493 B
Text
21 lines
493 B
Text
$NetBSD: patch-aa,v 1.1.1.1 2008/09/15 14:57:28 he Exp $
|
|
|
|
--- Makefile.PL.orig 2008-08-26 19:39:22.000000000 +0200
|
|
+++ Makefile.PL
|
|
@@ -1,6 +1,7 @@
|
|
use strict;
|
|
use ExtUtils::MakeMaker;
|
|
use Getopt::Long;
|
|
+use Config;
|
|
|
|
# See lib/ExtUtils/MakeMaker.pm for details of how to influence
|
|
# the contents of the Makefile that is written.
|
|
@@ -48,7 +49,7 @@ sub InitMakeParams
|
|
|
|
if ($libdir)
|
|
{
|
|
- $Params{LIBS} = "-L$libdir -lidn";
|
|
+ $Params{LIBS} = $Config{ldflags} . " -lidn";
|
|
}
|
|
else
|
|
{
|