root/lang/cplusplus/llv8call/trunk/ext/python/SConscript @ 19835

Revision 19835, 296 bytes (checked in by tokuhirom, 6 years ago)

change ext/ directory structure.

Line 
1from distutils import sysconfig
2
3Import("env")
4Import("conf")
5
6env.Append(
7    CPPPATH = [sysconfig.get_python_inc()],
8)
9
10if conf.CheckCHeader("Python.h"):
11    env.SharedLibrary(
12        "python",
13        ['python.cc'],
14        LIBS=['v8', 'python' + sysconfig.get_config_var('VERSION')],
15    )
16
Note: See TracBrowser for help on using the browser.