Description: Tell Makefile.PL where to find .pc file
Origin: vendor
Forwarded: not-needed
Author: gregor herrmann <gregoa@debian.org>
Last-Update: 2025-11-03

--- a/Makefile.PL
+++ b/Makefile.PL
@@ -601,6 +601,11 @@
               }
           }
       }
+
+      # Debian multiarch
+      my $pc_libdir = ExtUtils::PkgConfig->variable($config{pkg}, 'libdir');
+      $pc = "$pc_libdir/pkgconfig/gdlib.pc";
+
       if (-e $pc) {
         my $F;
         open $F, "<", $pc;
