[perl-Pango] Ensure word separation in linker arguments with pkg-config >= 0.29



commit 68741a4940e4c1af73954730420e11d026c0dbc0
Author: Niko Tyni <ntyni debian org>
Date:   Sat Nov 21 10:38:52 2015 +0200

    Ensure word separation in linker arguments with pkg-config >= 0.29
    
    Since pkg-config 0.29,
     http://cgit.freedesktop.org/pkg-config/commit/?id=f26a505826acec6b1e1af8d1efdf959913421c3a
    the cflags and libs no longer have a trailing space, resulting
    in bogus linker arguments like -lglib-2.0-lpangocairo-1.0.
    
    The 'cflags' strings are already joined with whitespace earlier
    so only the 'libs' need fixing.
    
    Forwarded: https://rt.cpan.org/Ticket/Display.html?id=109330
    Bug: https://rt.cpan.org/Ticket/Display.html?id=109330
    Bug-Debian: https://bugs.debian.org/805403
    
    Also reported by Thierry Vignaud.

 Makefile.PL |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/Makefile.PL b/Makefile.PL
index e644209..1d3349d 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -161,7 +161,7 @@ my $libs = $pango_pkgcfg{libs};
 if ($have_cairo) {
        push @deps, qw/Cairo/;
        $inc .= $pangocairo_pkgcfg{cflags};
-       $libs .= $pangocairo_pkgcfg{libs};
+       $libs .= ' ' . $pangocairo_pkgcfg{libs};
 }
 
 my @typemaps = map { File::Spec->catfile(cwd(), $_) }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]