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

Capture pkg-config output even if only one component returned #3241

Closed
wants to merge 1 commit into from

Conversation

kkopachev
Copy link
Contributor

Changing pkg-config output parser in case it returns only one component
(only -I or only -L)

Currently an issue with libtiff in official python container:

> docker run --rm -it --entrypoint=bash python:3
# pkg-config --libs-only-L libtiff-4 --cflags-only-I libtiff-4
 -I/usr/include/x86_64-linux-gnu 
# pip install pillow --global-option="build_ext" --global-option="--disable-zlib" \
 --global-option="build_ext" --global-option="--disable-jpeg" \
 --global-option="build_ext" --global-option="--enable-tiff"

...
    The headers or library files could not be found for tiff,
    which was requested by the option flag --enable-tiff

Changing pkg-config output parser in case it returns only one component
(only -I or only -L)
@kkopachev
Copy link
Contributor Author

Fixed by #3395

@kkopachev kkopachev closed this Jan 10, 2019
@kkopachev kkopachev deleted the pkg-config-capture branch January 10, 2019 00:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants