From 3e8acce5f38b1e14b878f56bde79a27ec9a9152a Mon Sep 17 00:00:00 2001 From: Hauke D Date: Thu, 8 Nov 2018 15:54:58 +0100 Subject: [PATCH] Adjust paths For haukex/emperl5@bc78e33552fd7d7db0b3ba2996f4d9408394e0b6 --- build/build.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/build.pl b/build/build.pl index cd5c264..6b0d78f 100755 --- a/build/build.pl +++ b/build/build.pl @@ -361,9 +361,9 @@ if ($needs_reconfig || !-e $destdir || $opts{remakeout}) { $destdir->subdir('dev')->mkpath(1); # we make them hard links so that edits to WebPerl.pm don't require a full # rebuild of the output directory (a rebuild of emperl.js is enough) - safelink( $C{PERLSRCDIR}->file('ext','WebPerl','WebPerl.t'), + safelink( $C{PERLSRCDIR}->file('ext','WebPerl','t','WebPerl.t'), $destdir->file('dev','WebPerl.t') ); - safelink( $C{PERLSRCDIR}->file('ext','WebPerl','WebPerl.pm'), + safelink( $C{PERLSRCDIR}->file('ext','WebPerl','lib','WebPerl.pm'), $destdir->file('lib','5.28.0','wasm','WebPerl.pm') ); #TODO: should figure this directory out dynamically #TODO Later: Provide an easy way for users to add files to the virtual file system