Skip to content

Commit

Permalink
Merge pull request #20 from mvojacek/windows-morestatic
Browse files Browse the repository at this point in the history
Force linking against pthreads statically
  • Loading branch information
cretz authored Nov 26, 2018
2 parents 885f3ac + 6eaf27e commit 465b965
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion process/embedded/tor-0.3.5/process.go
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 465b965

Please sign in to comment.