Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Wojtek committed Nov 10, 2023
1 parent bbc22f0 commit 2450b6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)'

Expand All @@ -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
Expand Down

0 comments on commit 2450b6a

Please sign in to comment.