Skip to content

Commit

Permalink
Don't override the include path if empty.
Browse files Browse the repository at this point in the history
  • Loading branch information
demonfoo committed Mar 3, 2012
1 parent b058c4c commit bd9c3f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile.PL
Expand Up @@ -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
Expand Down

0 comments on commit bd9c3f8

Please sign in to comment.