1
0
mirror of https://github.com/janet-lang/janet synced 2024-11-24 09:17:17 +00:00

Support Android (termux)

This commit is contained in:
Brad Svercl 2021-10-14 21:18:35 -05:00
parent 74c9cf03d0
commit e0dba85cbb

View File

@ -67,6 +67,10 @@ ifeq ($(UNAME), Haiku)
LDCONFIG:=true LDCONFIG:=true
LDFLAGS=-Wl,--export-dynamic LDFLAGS=-Wl,--export-dynamic
endif endif
# For Android (termux)
ifeq ($(shell uname -o), Android)
CLIBS:=$(CLIBS) -landroid-spawn
endif
$(shell mkdir -p build/core build/c build/boot) $(shell mkdir -p build/core build/c build/boot)
all: $(JANET_TARGET) $(JANET_LIBRARY) $(JANET_STATIC_LIBRARY) build/janet.h all: $(JANET_TARGET) $(JANET_LIBRARY) $(JANET_STATIC_LIBRARY) build/janet.h