Commit acb5b66d authored by Matthew Brett's avatar Matthew Brett
Browse files

NF: command to install pkg-config without error

See:
https://github.com/matthew-brett/multibuild/issues/24#issue-221951587
parent 38056941
......@@ -278,3 +278,10 @@ function repair_wheelhouse {
# https://github.com/MacPython/wiki/wiki/Spinning-wheels#question-will-pip-give-me-a-broken-wheel
delocate-addplat --rm-orig -x 10_9 -x 10_10 $wheelhouse/*.whl
}
function install_pkg_config {
# Install pkg-config avoiding error from homebrew
# See :
# https://github.com/matthew-brett/multibuild/issues/24#issue-221951587
command -v pkg-config > /dev/null 2>&1 || brew install pkg-config
}
......@@ -18,3 +18,6 @@
[ "$(get_py_mm)" == "${cpython_version:0:3}" ] || ingest
[ "$(get_py_mm_nodot)" == $(echo "${cpython_version:0:3}" | tr -d .) ] || \
ingest
# Test pkg-config install
install_pkg_config
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment