root/lang/cplusplus/llv8call/trunk/ext/python/SConscript
@
19835
| Revision 19835, 296 bytes (checked in by tokuhirom, 5 years ago) |
|---|
| Line | |
|---|---|
| 1 | from distutils import sysconfig |
| 2 | |
| 3 | Import("env") |
| 4 | Import("conf") |
| 5 | |
| 6 | env.Append( |
| 7 | CPPPATH = [sysconfig.get_python_inc()], |
| 8 | ) |
| 9 | |
| 10 | if 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.
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)