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