Add support for MUSL on Linux

This commit is contained in:
Andrew Pamment
2018-10-16 13:48:47 +10:00
parent 8f8a8d1b67
commit c3e21a5228
5 changed files with 53 additions and 3 deletions

View File

@@ -23,7 +23,11 @@ endif
ifeq ($(OS), Linux)
CC=gcc
CFLAGS=
LDFLAGS=-lsqlite3 -lncurses
ifdef FTSLIB
LDFLAGS=-lsqlite3 -lncurses -lfts
else
LDFLAGS=-lsqlite3 -lncurses
endif
endif
ifeq ($(OS), Darwin)
CC=cc