Permalink
Browse files
Remove getcopyright.c from the build.
- Loading branch information...
Showing
with
3 additions
and
1 deletion.
-
+2
−0
Python-2.7.13/Python/sysmodule.c
-
+1
−1
build/compile.sh
|
|
@@ -1437,8 +1437,10 @@ _PySys_Init(void) |
|
|
PyBool_FromLong(Py_DontWriteBytecodeFlag));
|
|
|
SET_SYS_FROM_STRING("api_version",
|
|
|
PyInt_FromLong(PYTHON_API_VERSION));
|
|
|
#ifndef OVM_MAIN
|
|
|
SET_SYS_FROM_STRING("copyright",
|
|
|
PyString_FromString(Py_GetCopyright()));
|
|
|
#endif
|
|
|
SET_SYS_FROM_STRING("platform",
|
|
|
PyString_FromString(Py_GetPlatform()));
|
|
|
/* getpath.c was removed */
|
|
|
|
|
|
@@ -17,6 +17,7 @@ source build/common.sh |
|
|
# stuff uses pythonrun.c.
|
|
|
# pythonrun.c: lots interpreter flags and interpreter initialization caused
|
|
|
# link errors.
|
|
|
# pyctype.c: Tables needed for many string operations.
|
|
|
|
|
|
# getargs.c: needed for Python-C API, e.g. PyArg_ParseTuple.
|
|
|
# dtoa.c: not tried, but I assume that %.3f for 'time' uses it.
|
|
|
@@ -30,7 +31,6 @@ Python/codecs.c |
|
|
Python/errors.c
|
|
|
Python/getargs.c
|
|
|
Python/getcompiler.c
|
|
|
Python/getcopyright.c
|
|
|
Python/getplatform.c
|
|
|
Python/getversion.c
|
|
|
Python/import.c
|
|
|
|
0 comments on commit
eaece7d