Permalink
Browse files

search $Config{incpath} for headers too, why this was left out I don'…

…t know
  • Loading branch information...
1 parent a3ca0e8 commit 16cf4610a326d85665986155cfbe9ace288d9640 Tony Cook committed Dec 15, 2006
Showing with 3 additions and 0 deletions.
  1. +3 −0 Makefile.PL
View
@@ -399,6 +399,9 @@ sub init {
if ($^O =~ /win32/i && $Config{cc} =~ /\bcl\b/i) {
push(@incs, split /;/, $ENV{INCLUDE}) if exists $ENV{INCLUDE};
}
+ if ($Config{incpath}) {
+ push @incs, grep -d, split /\Q$Config{path_sep}/, $Config{incpath};
+ }
push @incs, grep -d,
qw(/sw/include
/usr/include/freetype2

0 comments on commit 16cf461

Please sign in to comment.