Skip to content

Commit

Permalink
Issue python#27713: Surpress spurious build warnings when updating im…
Browse files Browse the repository at this point in the history
…portlib's

bootstrap files:
    Could not find platform dependent libraries <exec_prefix
    Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Patch by Xiang Zhang
  • Loading branch information
ned-deily committed Aug 20, 2016
1 parent 6902ddf commit 17cfc86
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Misc/NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
1 change: 1 addition & 0 deletions Programs/_freeze_importlib.c
Original file line number Diff line number Diff line change
Expand Up @@ -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. */
Expand Down

0 comments on commit 17cfc86

Please sign in to comment.