Closed brainy closed 6 years ago
This will make make py3c.pc
fail if includedir (/usr/local/include
) doesn't exist and the user doesn't have permissions for it. But I guess that's acceptable.
Pushed as https://github.com/encukou/py3c/commit/e452f93e5095dfc0a5cb2f47ff59c716cd1c5a7c Thank you!
On OSX, if the target path does not exist,
$(realpath $(includedir))
will return an empty string, which makes the pkg-config template somewhat useless.This change ensures that the path exists before the template is substituted.