Skip to content

Commit

Permalink
Copy libparrot.dll into place for Win32, so perl6.exe works.
Browse files Browse the repository at this point in the history
  • Loading branch information
jnthn committed Feb 18, 2009
1 parent 9e72b9d commit c18fafa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Configure.pl
Expand Up @@ -97,8 +97,9 @@ sub create_makefile {
die "Unable to read build/Makefile.in \n";
my $maketext = join('', <$ROOTIN>);
close $ROOTIN;
$maketext =~ s/@(\w+)@/$config{$1}/g;

$config{'win32_libparrot_copy'} = $^O eq 'MSWin32' ? 'copy $(BUILD_DIR)\libparrot.dll .' : '';
$maketext =~ s/@(\w+)@/$config{$1}/g;
if ($^O eq 'MSWin32') {
$maketext =~ s{/}{\\}g;
}
Expand Down
1 change: 1 addition & 0 deletions build/Makefile.in
Expand Up @@ -151,6 +151,7 @@ all: perl6$(EXE)
# (We're not quite ready to make this a default target.)
perl6$(EXE): perl6.pbc
$(PBC_TO_EXE) perl6.pbc
@win32_libparrot_copy@

spectest_checkout : t/spec

Expand Down

0 comments on commit c18fafa

Please sign in to comment.