Skip to content

Commit bed883c

Browse files
chore(build): add missing libm flag
1 parent 976b5cd commit bed883c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ BUILD_FLAGS = -tags "$(build_tags)" -ldflags '$(ldflags)'
5555

5656
CGO_LDFLAGS := -L$(TEMPDIR)/wasmvm/$(WASMVM_VERSION)/lib/$(OS_NAME)_$(ARCH_NAME)/
5757
ifeq ($(OS_NAME),linux)
58-
CGO_LDFLAGS += -static
58+
CGO_LDFLAGS += -static -lm
5959
endif
6060

6161
# ==============================================================================

0 commit comments

Comments
 (0)