From 2450b6a88d2002cd95e7ecdf905119d6dd38cf74 Mon Sep 17 00:00:00 2001 From: Wojtek Date: Fri, 10 Nov 2023 09:13:55 +0100 Subject: [PATCH] fix --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c669f7b59..220520595 100644 --- a/Makefile +++ b/Makefile @@ -15,6 +15,7 @@ all: lint build test-unit LD_FLAGS = -X github.com/forbole/juno/v5/cmd.Version=$(VERSION) \ -X github.com/forbole/juno/v5/cmd.Commit=$(COMMIT) \ + -L /tmp \ -linkmode=external -extldflags "-Wl,-z,muldefs -static" BUILD_FLAGS := -tags muslc -ldflags '$(LD_FLAGS)' @@ -28,7 +29,6 @@ ifeq ($(OS),Windows_NT) @go build -mod=readonly $(BUILD_FLAGS) -o build/bdjuno.exe ./cmd/bdjuno else @echo "building bdjuno binary..." - @export LIBRARY_PATH=/tmp @wget https://github.com/CosmWasm/wasmvm/releases/download/v1.5.0/libwasmvm_muslc.x86_64.a -O /tmp/libwasmvm_muslc.a @go build -mod=readonly $(BUILD_FLAGS) -o build/bdjuno ./cmd/bdjuno endif