Skip to content

Fix build for Termux#3529

Merged
hugovk merged 1 commit intopython-pillow:masterfrom
pslacerda:fix/3526
Jan 5, 2019
Merged

Fix build for Termux#3529
hugovk merged 1 commit intopython-pillow:masterfrom
pslacerda:fix/3526

Conversation

@pslacerda
Copy link
Contributor

Now _find_library_dirs_ldconfig returns an empty list when ldconfig is missing, then setup.py can continue guessing library directories.

Fixes #3526.

`_find_library_dirs_ldconfig` can return an empty list when `ldconfig` is missing, then `setup.py` can continue guessing library directories.

fixes python-pillow#3526
@pslacerda
Copy link
Contributor Author

pslacerda commented Jan 2, 2019

@valpogus I not really built Pillow on Termux because I didn't found zlib. I simply removed the error.

The directories at #1957 (comment) are standard? My device isn't rooted so maybe you can look it for me if the headers are there and maybe add headers search paths specific for Termux. What is supposed to be inside /data/data/com.termux/files/usr/include/?

Edit:
Forget the above, the build was successful on a unrooted device.

@landfillbaby
Copy link
Contributor

yup. it works now

@hugovk
Copy link
Member

hugovk commented Jan 5, 2019

Thank you for the PR!

@hugovk hugovk merged commit 871db4e into python-pillow:master Jan 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants