diff --git a/install-ipfs-and-plugin.sh b/install-ipfs-and-plugin.sh index b95cd4c..6264191 100755 --- a/install-ipfs-and-plugin.sh +++ b/install-ipfs-and-plugin.sh @@ -8,7 +8,7 @@ go get "github.com/ipfs/go-ipfs/cmd/ipfs@${IPFS_VERSION}" # Build the IPFS plugin's shared library echo "Building the IPFS plugin" mkdir -p build -go build -buildmode=plugin -asmflags=all=-trimpath=\"${GOPATH}\" -gcflags=all=-trimpath=\"${GOPATH}\" -o build/plugin.so ./main/ +go build -buildmode=plugin -asmflags=all=-trimpath=\"${GOPATH}\" -gcflags=all=-trimpath=\"${GOPATH}\" -tags purego -o build/plugin.so ./main/ # Mark the shared library as executable echo "Marking the IPFS plugin as executable"