projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b230e30
)
Cwd.xs won't load in development releases, unless we munge the
author
Nicholas Clark
<nick@ccl4.org>
Tue, 21 Oct 2008 06:37:13 +0000
(06:37 +0000)
committer
Nicholas Clark
<nick@ccl4.org>
Tue, 21 Oct 2008 06:37:13 +0000
(06:37 +0000)
XS_VERSION.
p4raw-id: //depot/perl@34543
ext/Cwd/Makefile.PL
patch
|
blob
|
history
diff --git
a/ext/Cwd/Makefile.PL
b/ext/Cwd/Makefile.PL
index
1e9a80d
..
45baa48
100644
(file)
--- a/
ext/Cwd/Makefile.PL
+++ b/
ext/Cwd/Makefile.PL
@@
-1,7
+1,11
@@
# core-only Makefile.PL
use ExtUtils::MakeMaker;
+use File::Spec;
+my $up = File::Spec->updir();
+
WriteMakefile(
NAME => 'Cwd',
VERSION_FROM => '../../lib/Cwd.pm',
'DEFINE' => '-DNO_PPPORT_H',
+ XS_VERSION => eval MM->parse_version(File::Spec->catfile($up, $up, 'lib', 'Cwd.pm')),
);