summaryrefslogtreecommitdiffstats
path: root/build/SConscript.main
diff options
context:
space:
mode:
Diffstat (limited to 'build/SConscript.main')
-rw-r--r--build/SConscript.main14
1 files changed, 8 insertions, 6 deletions
diff --git a/build/SConscript.main b/build/SConscript.main
index 8e42e9c..e596917 100644
--- a/build/SConscript.main
+++ b/build/SConscript.main
@@ -79,6 +79,14 @@ env = Environment(
PYTHON=sys.executable,
LIBPATH = ['$LIBS_DIR'],
+
+ PERL = 'perl',
+ PERL_INCLUDE_FLAG = '-I ',
+ PERL_INCLUDE_SUFFIX = '',
+ _PERL_INCLUDE_FLAGS = ('${_concat(PERL_INCLUDE_FLAG, '
+ 'PERL_INCLUDE_PATH, '
+ 'PERL_INCLUDE_SUFFIX,'
+ '__env__, RDirs, TARGET, SOURCE)}'),
)
def AddPdbToTarget(args):
@@ -159,12 +167,6 @@ if env['PLATFORM'] == 'win32':
CYGWIN_BIN_DIR = '$CYGWIN_DIR/bin',
PERL = '$CYGWIN_BIN_DIR/perl.exe',
- PERL_INCLUDE_FLAG = '-I ',
- PERL_INCLUDE_SUFFIX = '',
- _PERL_INCLUDE_FLAGS = ('${_concat(PERL_INCLUDE_FLAG, '
- 'PERL_INCLUDE_PATH, '
- 'PERL_INCLUDE_SUFFIX,'
- '__env__, RDirs, TARGET, SOURCE)}'),
MSVS_ENV = msvs_env,