| Index: dart/lib/compiler/implementation/dart2js.dart
|
| diff --git a/dart/lib/compiler/implementation/dart2js.dart b/dart/lib/compiler/implementation/dart2js.dart
|
| index 93c5761bcdad3c2ae969b5ead74f41507eaf171d..807d79c4c46227ddcf697b3d59a5457c8335fac0 100644
|
| --- a/dart/lib/compiler/implementation/dart2js.dart
|
| +++ b/dart/lib/compiler/implementation/dart2js.dart
|
| @@ -138,7 +138,8 @@ void fail(String message) {
|
| }
|
|
|
| void compilerMain(Options options) {
|
| - List<String> argv = ['--library-root=${options.script}/$LIBRARY_ROOT'];
|
| + var root = uriPathToNative("/$LIBRARY_ROOT");
|
| + List<String> argv = ['--library-root=${options.script}$root'];
|
| argv.addAll(options.arguments);
|
| compile(argv);
|
| }
|
|
|