Skip to content

Commit 470f70e

Browse files
committed
Add math library flag to Android build in Makefile
1 parent 83c8168 commit 470f70e

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
@@ -69,7 +69,7 @@ else ifeq ($(PLATFORM),android)
6969

7070
CC = $(BIN)/$(ARCH)-linux-android26-clang
7171
TARGET := $(DIST_DIR)/vector.so
72-
LDFLAGS += -shared
72+
LDFLAGS += -lm -shared
7373
else ifeq ($(PLATFORM),ios)
7474
TARGET := $(DIST_DIR)/vector.dylib
7575
SDK := -isysroot $(shell xcrun --sdk iphoneos --show-sdk-path) -miphoneos-version-min=11.0

0 commit comments

Comments
 (0)