Description: Pass -ffile-prefix-map via $cflags to avoid embedding build path.
Author: Vagrant Cascadian <vagrant@reproducible-builds.org>

--- a/Build.PL
+++ b/Build.PL
@@ -1,5 +1,6 @@
 use Module::Build;
 use strict;
+use Cwd;
 
 # We need to find imlib2-config
 my $CONFIG = "imlib2-config";
@@ -20,7 +21,7 @@
 }
 
 my $libs = `$CONFIG --libs`;
-my $cflags = "-DX_DISPLAY_MISSING " . `$CONFIG --cflags`;
+my $cflags = "-DX_DISPLAY_MISSING " . `$CONFIG --cflags` . "-ffile-prefix-map=" . getcwd() . "=." ;
 
 my $build = Module::Build->new(
   c_source     => './lib/Image',
