threads / discuss / 60166

Need help on building git with static libz.a

Subject: Need help on building git with static libz.a

## tl;dr

2 messages between Aug 29, 2023 and Aug 29, 2023.

replies: 1people: 1as markdown or json

rsbecker@nexbridge.com· Aug 29, 2023, 15:21 UTC · lore
Hi All,

Sorry if I seem clueless on this within the git make infrastructure, but someone set up my new build environment with an incompatible libz.so that I cannot seem to bypass. How can I link git using libz.a instead?

Thanks, Randall

rsbecker@nexbridge.com· Aug 29, 2023, 17:23 UTC · re: rsbecker@nexbridge.com · lore

RE: Need help on building git with static libz.a

On Tuesday, August 29, 2023 11:22 AM, I wrote:
>To: git@vger.kernel.org
>Sorry if I seem clueless on this within the git make infrastructure, but
someone set up
>my new build environment with an incompatible libz.so that I cannot seem to
bypass.
>How can I link git using libz.a instead?
Simple solution is to put the full path to libz.a before any -L in LDFLAGS.

← back to recent threads