From: Derrik Pates Date: Sat, 3 Mar 2012 04:25:01 +0000 (-0700) Subject: Don't override the include path if empty. X-Git-Url: http://git.rot13.org/?p=perl-fuse.git;a=commitdiff_plain;h=bd9c3f8be2837cda12a482f82cc63a617f3d2961;hp=b058c4c7c822bdfb072d4a49c7d9269f442d0e0d Don't override the include path if empty. --- diff --git a/Makefile.PL b/Makefile.PL index 18f2cf0..2b7700b 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -68,7 +68,7 @@ if ($fusever && $fusever + 0 < 2.6) { warn "fuse version found: ", $fusever, "\n"; } -chomp(my $inc = `pkg-config --cflags-only-I fuse 2> /dev/null` || '-I ../include'); +chomp(my $inc = `pkg-config --cflags-only-I fuse 2> /dev/null`); chomp(my $libs = `pkg-config --libs-only-L fuse 2> /dev/null`); chomp($libs .= `pkg-config --libs-only-l fuse 2> /dev/null` || (($^O eq 'netbsd') ? '-lrefuse' : '-lfuse')); # Needed for Fuse on OS X 10.6, due to 10.6 and up always using the 64-bit