]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Issue #27713: Surpress spurious build warnings when updating importlib's
authorNed Deily <nad@python.org>
Sat, 20 Aug 2016 02:12:06 +0000 (22:12 -0400)
committerNed Deily <nad@python.org>
Sat, 20 Aug 2016 02:12:06 +0000 (22:12 -0400)
bootstrap files:
    Could not find platform dependent libraries <exec_prefix
    Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Patch by Xiang Zhang

Misc/NEWS
Programs/_freeze_importlib.c

index 37a16d0d0dab5d3502dcd0156c82be5082cc6ed1..07a76e6bf039bbf36261a0e9342765aaecd03dd2 100644 (file)
--- 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.
 
index aecb1232af1674f74d44007c20da36e8675a0dbd..0793984800452e62a0ea9deebcf07cb13eda4517 100644 (file)
@@ -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. */