Index: sdk/bin/dartdoc.bat |
diff --git a/sdk/bin/dartdoc.bat b/sdk/bin/dartdoc.bat |
index 80849eee5db1c5c82766de3dc0dcaa9bc4e9a56c..c80ef9540a12138d9ebabb3a1ea037f4167652b9 100644 |
--- a/sdk/bin/dartdoc.bat |
+++ b/sdk/bin/dartdoc.bat |
@@ -25,7 +25,7 @@ if not defined DART_CONFIGURATION set DART_CONFIGURATION=ReleaseIA32 |
set BUILD_DIR=%SDK_DIR%\..\build\%DART_CONFIGURATION% |
if exist "%SNAPSHOT%" ( |
- "%DART%" "%SNAPSHOT%" "dartdoc" %* |
+ "%DART%" "%SNAPSHOT%" "dartdoc" "--library-root=%SDK_DIR%" %* |
) else ( |
:: The trailing forward slash in --package-root is required because of issue |
:: 9499. |