Skip to content

Commit

Permalink
Merge pull request #26 from prismskylabs/059ff5a0baf9f211b0df6d822464…
Browse files Browse the repository at this point in the history
…615cee023894

Issue #371: Fix Python library search for OS X framework virtualenvs.
  • Loading branch information
matysek committed Nov 7, 2012
2 parents d649f53 + 059ff5a commit 5804133
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PyInstaller/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -662,7 +662,7 @@ def _check_python_library(self, binaries):

for (nm, fnm, typ) in binaries:
for name in names:
if typ == 'BINARY' and fnm.endswith(name):
if typ == 'BINARY' and os.path.basename(fnm) == name:
# Python library found.
# FIXME Find a different way how to pass python libname to CArchive.
os.environ['PYI_PYTHON_LIBRARY_NAME'] = name
Expand Down

0 comments on commit 5804133

Please sign in to comment.