To successfully build git from source without link errors I had to set the $LIBRARY_PATH
variable, in addition to $CFLAGS
and $LDFLAGS
:
export LIBRARY_PATH="$HOME/lib"
2
|
To successfully build git from source without link errors I had to set the
|
git源码编译时需要先编译zlib库,除了LD_LIBRARY_PATH外还需要设置库环境变量LIBRARY_PATH
2
|
To successfully build git from source without link errors I had to set the
|