force linking against pthreads statically
This commit is contained in:
parent
25e2ee8b21
commit
6eaf27e90d
|
@ -24,7 +24,7 @@ import (
|
|||
#cgo LDFLAGS: -L${SRCDIR}/../../../../tor-static/xz/dist/lib -llzma
|
||||
#cgo LDFLAGS: -L${SRCDIR}/../../../../tor-static/zlib/dist/lib -lz
|
||||
#cgo LDFLAGS: -L${SRCDIR}/../../../../tor-static/openssl/dist/lib -lssl -lcrypto
|
||||
#cgo windows LDFLAGS: -lws2_32 -lcrypt32 -lgdi32 -liphlpapi
|
||||
#cgo windows LDFLAGS: -lws2_32 -lcrypt32 -lgdi32 -liphlpapi -Wl,-Bstatic -lpthread
|
||||
#cgo !windows LDFLAGS: -lm
|
||||
|
||||
#include <stdlib.h>
|
||||
|
|
Loading…
Reference in New Issue