Skip to contentSkip to conversation

Need help on building git with static libz.a

DISCUSSION [email protected] 1 participant 2 messages Aug 29, 2023

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 2 lines · On Tuesday, August 29, 2023 11:22 AM, I wrote:

To: [email protected]
Sorry if I seem clueless on this within the git make infrastructure, but

someone set up

Quoted 1 line

my new build environment with an incompatible libz.so that I cannot seem to

bypass.

Quoted 1 line

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.