projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Cwd doesn't need ppport.h in core
[p5sagit/p5-mst-13.2.git]
/
ext
/
Cwd
/
Makefile.PL
diff --git
a/ext/Cwd/Makefile.PL
b/ext/Cwd/Makefile.PL
index
29b8de5
..
02e5a3b
100644
(file)
--- a/
ext/Cwd/Makefile.PL
+++ b/
ext/Cwd/Makefile.PL
@@
-2,4
+2,9
@@
use ExtUtils::MakeMaker;
WriteMakefile(
NAME => 'Cwd',
VERSION_FROM => '../../lib/Cwd.pm',
+ (
+ (grep { $_ eq 'PERL_CORE=1' } @ARGV)
+ ? ()
+ : ('DEFINE' => '-DUSE_PPPORT_H')
+ ),
);