summaryrefslogtreecommitdiffstats
path: root/Programs/_freeze_importlib.c
diff options
context:
space:
mode:
authorNed Deily <nad@python.org>2016-08-20 02:12:06 (GMT)
committerNed Deily <nad@python.org>2016-08-20 02:12:06 (GMT)
commit17cfc86422ff27c5c1d88ec31c1449850bc5df68 (patch)
treed9035413c12eaca0f69f605f3aeb69d4eaf74d4d /Programs/_freeze_importlib.c
parent6902ddf2cab4900fa01248c313e7d4a7e67d97f7 (diff)
downloadcpython-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/_freeze_importlib.c')
-rw-r--r--Programs/_freeze_importlib.c1
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. */