summaryrefslogtreecommitdiffstats
path: root/native_client_sdk/src/scons.bat
diff options
context:
space:
mode:
Diffstat (limited to 'native_client_sdk/src/scons.bat')
-rwxr-xr-xnative_client_sdk/src/scons.bat10
1 files changed, 5 insertions, 5 deletions
diff --git a/native_client_sdk/src/scons.bat b/native_client_sdk/src/scons.bat
index 0a6d3db..7407b68 100755
--- a/native_client_sdk/src/scons.bat
+++ b/native_client_sdk/src/scons.bat
@@ -6,23 +6,23 @@
setlocal
-set NACL_SDK_ROOT=%~dp0
+set NACL_SDK_ROOT=%~dp0..\..\native_client
:: Preserve a copy of the PATH (in case we need it later, mainly for cygwin).
set PRESCONS_PATH=%PATH%
:: Set the PYTHONPATH and SCONS_LIB_DIR so we can import SCons modules
-set SCONS_LIB_DIR=%~dp0third_party\scons-2.0.1\engine
-set PYTHONPATH=%~dp0third_party\scons-2.0.1\engine;%~dp0third_party\native_client\native_client\build
+set SCONS_LIB_DIR=%~dp0..\..\third_party\scons-2.0.1\engine
+set PYTHONPATH=%~dp0..\..\third_party\scons-2.0.1\engine;%~dp0..\..\native_client\build;%~dp0
:: We have to do this because scons overrides PYTHONPATH and does not preserve
:: what is provided by the OS. The custom variable name won't be overwritten.
-set PYMOX=%~dp0third_party\pymox
+set PYMOX=%~dp0..\..\third_party\pymox\src
:: Stop incessant CYGWIN complains about "MS-DOS style path"
set CYGWIN=nodosfilewarning %CYGWIN%
:: Run the included copy of scons.
-python -O -OO "%~dp0third_party\scons-2.0.1\script\scons" --file=main.scons %*
+python -O -OO "%~dp0..\..\third_party\scons-2.0.1\script\scons" --file=main.scons %*
:end