projects
/
imager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a3ca0e8
)
search $Config{incpath} for headers too, why this was left out I don't know
author
Tony Cook
<tony@develop=help.com>
Fri, 15 Dec 2006 23:05:31 +0000
(23:05 +0000)
committer
Tony Cook
<tony@develop=help.com>
Fri, 15 Dec 2006 23:05:31 +0000
(23:05 +0000)
Makefile.PL
patch
|
blob
|
blame
|
history
diff --git
a/Makefile.PL
b/Makefile.PL
index afe5bc2e5b15c166c2706050f87073f14c1edbf0..e748d233da71652060c77ee40f18d02ff06453ec 100644
(file)
--- a/
Makefile.PL
+++ b/
Makefile.PL
@@
-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