mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-10 19:56:47 +03:00
Python 2.4 compat
This commit is contained in:
parent
845bee063d
commit
bf59b2239c
4
setup.py
4
setup.py
|
@ -441,8 +441,8 @@ class pil_build_ext(build_ext):
|
|||
tmpfile)
|
||||
try:
|
||||
if ret >> 8 == 0:
|
||||
with open(tmpfile) as fp:
|
||||
multiarch_path_component = fp.readline().strip()
|
||||
fp = open(tmpfile, 'rb')
|
||||
multiarch_path_component = fp.readline().strip()
|
||||
_add_directory(self.compiler.library_dirs,
|
||||
'/usr/lib/' + multiarch_path_component)
|
||||
_add_directory(self.compiler.include_dirs,
|
||||
|
|
Loading…
Reference in New Issue
Block a user