--- libimage-librsvg-perl-0.07.orig/Makefile.PL
+++ libimage-librsvg-perl-0.07/Makefile.PL
@@ -1,9 +1,10 @@
 use ExtUtils::MakeMaker;
 
+my $pkg_config = $ENV{"PKG_CONFIG"} // "pkg-config";
 my %config;
 
-$config{INC} = ' ' . `pkg-config --cflags librsvg-2.0`;
-$config{LIBS} = ' ' . `pkg-config --libs-only-l librsvg-2.0`;
+$config{INC} = ' ' . `$pkg_config --cflags librsvg-2.0`;
+$config{LIBS} = ' ' . `$pkg_config --libs-only-l librsvg-2.0`;
 
 # See lib/ExtUtils/MakeMaker.pm for details of how to influence
 # the contents of the Makefile that is written.
