Permalink
Browse files

Remove getcopyright.c from the build.

  • Loading branch information...
Andy Chu
Andy Chu committed Aug 19, 2018
1 parent 635d6b1 commit eaece7d711569824cad7560f6a059256f712779b
Showing with 3 additions and 1 deletion.
  1. +2 −0 Python-2.7.13/Python/sysmodule.c
  2. +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 */
View
@@ -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

Please sign in to comment.