From: Ned Deily Date: Sat, 20 Aug 2016 02:12:06 +0000 (-0400) Subject: Issue #27713: Surpress spurious build warnings when updating importlib's X-Git-Tag: v3.6.0b1~633^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=17cfc86422ff27c5c1d88ec31c1449850bc5df68;p=thirdparty%2FPython%2Fcpython.git Issue #27713: Surpress spurious build warnings when updating importlib's bootstrap files: Could not find platform dependent libraries [:] Patch by Xiang Zhang --- diff --git a/Misc/NEWS b/Misc/NEWS index 37a16d0d0dab..07a76e6bf039 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -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 aecb1232af16..079398480045 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. */