struggling to successfully compile --works in callExtension butarma CTDs
This commit is contained in:
12
makefile
12
makefile
@@ -1,12 +1,12 @@
|
||||
build:
|
||||
$env:GOARCH="amd64"
|
||||
$env:CGO_ENABLED=1
|
||||
export GOARCH="amd64"
|
||||
export CGO_ENABLED=1
|
||||
go build -o RangerMetrics_x64.so -buildmode=c-shared .
|
||||
|
||||
$env:GOARCH = "386"
|
||||
$env:CGO_ENABLED = 1
|
||||
export GOARCH = "386"
|
||||
export CGO_ENABLED = 1
|
||||
go build -o RangerMetrics.dll -buildmode=c-shared .
|
||||
|
||||
$env:GOARCH = "amd64"
|
||||
$env:CGO_ENABLED = 1
|
||||
export GOARCH = "amd64"
|
||||
export CGO_ENABLED = 1
|
||||
go build -o RangerMetrics_x64.dll -buildmode=c-shared .
|
||||
|
||||
Reference in New Issue
Block a user