Skip to content

Whitelist the linker flag `-D_THREAD_SAFE` to make git2go compilable on FreeBSD.

FreeBSD will use the system installed libgit2 which has the following linker flags defined:

-L/usr/local/lib -lgit2 -lrt -pthread -lz -L/usr/local/lib -lssh2 -L/usr/local/lib -lssl -L/usr/local/lib -pthread -lcrypto -pthread -lpcre -D_THREAD_SAFE -pthread 

Merge request reports