summaryrefslogtreecommitdiff
path: root/ext/re/Makefile.PL
diff options
context:
space:
mode:
authorTony Cook <tony@develop-help.com>2010-09-23 20:44:37 +1000
committerAndy Dougherty <doughera@lafayette.edu>2010-09-23 09:37:58 -0400
commit60666776a83addda0a7fcb957c6b5007b8e030f3 (patch)
treeecdee8c469cd9cd46190929c1c7bb976a03a6a85 /ext/re/Makefile.PL
parent038ea8ae868b1350e1b0662ded32942e2396b684 (diff)
downloadperl-60666776a83addda0a7fcb957c6b5007b8e030f3.tar.gz
Make dquote_static.c available to ext/re/
Under Win32 the main perl source directory isn't in the C include path, so as we do with the re source files, copy dquote_static.c to the ext/re directory.
Diffstat (limited to 'ext/re/Makefile.PL')
-rw-r--r--ext/re/Makefile.PL7
1 files changed, 6 insertions, 1 deletions
diff --git a/ext/re/Makefile.PL b/ext/re/Makefile.PL
index dbc414243f..a9733528c1 100644
--- a/ext/re/Makefile.PL
+++ b/ext/re/Makefile.PL
@@ -24,13 +24,14 @@ sub upupfile {
sub postamble {
my $regcomp_c = upupfile('regcomp.c');
my $regexec_c = upupfile('regexec.c');
+ my $dquote_static_c = upupfile('dquote_static.c');
<<EOF;
re_comp.c : $regcomp_c
- \$(RM_F) re_comp.c
\$(CP) $regcomp_c re_comp.c
-re_comp\$(OBJ_EXT) : re_comp.c
+re_comp\$(OBJ_EXT) : re_comp.c dquote_static.c
re_exec.c : $regexec_c
- \$(RM_F) re_exec.c
@@ -38,6 +39,10 @@ re_exec.c : $regexec_c
re_exec\$(OBJ_EXT) : re_exec.c
+dquote_static.c : $dquote_static_c
+ - \$(RM_F) dquote_static.c
+ \$(CP) $dquote_static_c dquote_static.c
+
EOF
}