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 /Programs | |
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
Diffstat (limited to 'Programs')
-rw-r--r-- | Programs/_freeze_importlib.c | 1 |
1 files changed, 1 insertions, 0 deletions
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. */ |