diff options
author | Ned Deily <nad@python.org> | 2016-08-20 02:12:06 (GMT) |
---|---|---|
committer | Ned Deily <nad@python.org> | 2016-08-20 02:12:06 (GMT) |
commit | 17cfc86422ff27c5c1d88ec31c1449850bc5df68 (patch) | |
tree | d9035413c12eaca0f69f605f3aeb69d4eaf74d4d | |
parent | 6902ddf2cab4900fa01248c313e7d4a7e67d97f7 (diff) | |
download | cpython-17cfc86422ff27c5c1d88ec31c1449850bc5df68.zip cpython-17cfc86422ff27c5c1d88ec31c1449850bc5df68.tar.gz cpython-17cfc86422ff27c5c1d88ec31c1449850bc5df68.tar.bz2 |
Issue #27713: Surpress spurious build warnings when updating importlib's
bootstrap files:
Could not find platform dependent libraries <exec_prefix
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Patch by Xiang Zhang
-rw-r--r-- | Misc/NEWS | 3 | ||||
-rw-r--r-- | Programs/_freeze_importlib.c | 1 |
2 files changed, 4 insertions, 0 deletions
@@ -177,6 +177,9 @@ Windows Build ----- +- Issue #27713: Surpress spurious build warnings when updating importlib's + bootstrap files. Patch by Xiang Zhang + - Issue #25825: Correct the references to Modules/python.exp, which is required on AIX. The references were accidentally changed in 3.5.0a1. diff --git a/Programs/_freeze_importlib.c b/Programs/_freeze_importlib.c index aecb123..0793984 100644 --- a/Programs/_freeze_importlib.c +++ b/Programs/_freeze_importlib.c @@ -77,6 +77,7 @@ main(int argc, char *argv[]) Py_NoUserSiteDirectory++; Py_NoSiteFlag++; Py_IgnoreEnvironmentFlag++; + Py_FrozenFlag++; Py_SetProgramName(L"./_freeze_importlib"); /* Don't install importlib, since it could execute outdated bytecode. */ |