Changeset 20505
- Timestamp:
- 10/02/08 19:48:59 (5 years ago)
- Location:
- lang/cplusplus/llv8call/trunk
- Files:
-
- 2 modified
-
Sconstruct (modified) (1 diff)
-
ext/python/SConscript (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lang/cplusplus/llv8call/trunk/Sconstruct
r20473 r20505 19 19 return None 20 20 OS_GUESS = GuessOS() 21 22 if not OS_GUESS == 'win32': 23 env.Append(CPPPATH=(ARGUMENTS.get('cpppath') or '').split(':')) 24 env.Append(LIBPATH=(ARGUMENTS.get('libpath') or '').split(':')) 25 else: 26 env.Append(CPPPATH=(ARGUMENTS.get('cpppath') or '').split(';')) 27 env.Append(LIBPATH=(ARGUMENTS.get('libpath') or '').split(';')) 21 28 22 29 if os.path.exists("vendor/v8/SConstruct"): -
lang/cplusplus/llv8call/trunk/ext/python/SConscript
r20166 r20505 1 import platform, sys, re 1 2 from distutils import sysconfig 2 3 … … 5 6 6 7 if conf.CheckCHeader("Python.h"): 8 version = sysconfig.get_config_var('VERSION') 9 if version is None and platform.system() == 'Windows': 10 version = re.sub('\.', '', sys.version.split(' ')[0]) 7 11 env.SharedLibrary( 8 12 "python", 9 13 ['python.cc'], 10 LIBS=['v8', 'python' + sysconfig.get_config_var('VERSION')],14 LIBS=['v8', 'python' + version], 11 15 CPPPATH = [sysconfig.get_python_inc()] + env['CPPPATH'], 12 16 )
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)