git源码编译




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"


git源码编译时需要先编译zlib库,除了LD_LIBRARY_PATH外还需要设置库环境变量LIBRARY_PATH

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"
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章