diff --git a/pyproject.toml b/pyproject.toml index 20a14e65..2bfdc95b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -21,9 +21,16 @@ repair-wheel-command = "LD_LIBRARY_PATH=/project/ci/lib auditwheel repair -w {de [tool.cibuildwheel.macos] archs = ["universal2"] -environment = {LIBGIT2_VERSION="1.9.0", LIBSSH2_VERSION="1.11.1", OPENSSL_VERSION="3.2.3", LIBGIT2="/Users/runner/work/pygit2/pygit2/ci"} repair-wheel-command = "DYLD_LIBRARY_PATH=/Users/runner/work/pygit2/pygit2/ci/lib delocate-wheel --require-archs {delocate_archs} -w {dest_dir} {wheel}" +[tool.cibuildwheel.macos.environment] +LIBGIT2_VERSION = "1.9.0" +LIBSSH2_VERSION = "1.11.1" +OPENSSL_VERSION = "3.2.3" +LIBGIT2 = "/Users/runner/work/pygit2/pygit2/ci" +CFLAGS = "-I/usr/local/include" +LDFLAGS = "-L/usr/local/lib" + [tool.ruff] target-version = "py310" # oldest supported Python version fix = true