Skip to content

Commit 885f3ac

Browse files
committed
Add static pthread link for 0.3.3 per PR #20
1 parent 5c62b5e commit 885f3ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

process/embedded/tor-0.3.3/process.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import (
2323
#cgo LDFLAGS: -L${SRCDIR}/../../../../tor-static/xz/dist/lib -llzma
2424
#cgo LDFLAGS: -L${SRCDIR}/../../../../tor-static/zlib/dist/lib -lz
2525
#cgo LDFLAGS: -L${SRCDIR}/../../../../tor-static/openssl/dist/lib -lssl -lcrypto
26-
#cgo windows LDFLAGS: -lws2_32 -lcrypt32 -lgdi32
26+
#cgo windows LDFLAGS: -lws2_32 -lcrypt32 -lgdi32 -Wl,-Bstatic -lpthread
2727
#cgo !windows LDFLAGS: -lm
2828
2929
#include <stdlib.h>

0 commit comments

Comments
 (0)