Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

loader: prevent local directory from shadowing system library #5182

Merged
merged 2 commits into from Sep 22, 2020

Commits on Sep 18, 2020

  1. loader: prevent local directory from shadowing system library

    When loading a system dynamic library via ctypes.CDLL() in a
    frozen progam, a local directory in sys._MEIPASS with a clashing
    basename ends up preventing the library from being loaded.
    
    To fix this, use an os.path.isdir() to decide whether to use
    frozen or original library name.
    
    Fixes pyinstaller#5178.
    rokm committed Sep 18, 2020
    Configuration menu
    Copy the full SHA
    335167d View commit details
    Browse the repository at this point in the history
  2. Added news fragment for PR.

    rokm committed Sep 18, 2020
    Configuration menu
    Copy the full SHA
    8122829 View commit details
    Browse the repository at this point in the history