Skip to content

allow pkgconfig to override include path on macos - #298

Merged
mattip merged 1 commit into
python-cffi:mainfrom
mattip:macos-pkgconfig-ffi-include
Dec 4, 2026
Merged

mattip merged 1 commit into
python-cffi:mainfrom
mattip:macos-pkgconfig-ffi-include

Conversation

@mattip

@mattip mattip commented Dec 4, 2026

Copy link
Copy Markdown
Contributor

Clang will remove repeated include directories. Previously, the macos include path /usr/include/ffi was unconditionally added to the include directories, shadowing the pkgconfig ones.

Fixes #297

@mattip
mattip merged commit 83136cf into python-cffi:main Dec 4, 2026
38 checks passed
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.

cffi cannot be built correctly on macOS if libffi is installed in /usr/local

1 participant