From 1305433d9ed0b4cdc71bb815c1da8508e6335f90 Mon Sep 17 00:00:00 2001
From: Kyle Gottfried <6462596+Spitfire1900@users.noreply.github.com>
Date: Sat, 4 Jan 2025 18:08:36 -0500
Subject: [PATCH] attempt to force zlib bundling wit LDFLAGS

---
 pyproject.toml | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/pyproject.toml b/pyproject.toml
index fcac721a..a0aec646 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -29,8 +29,7 @@ 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"
-LDFLAGS_UNIVERSAL2 = "-lz" 
+LDFLAGS = "-L/usr/local/lib -lz"
 
 [tool.ruff]
 target-version = "py310"  # oldest supported Python version