Move linenoise to its own static library.
This allows us to publish its license, as required
by the terms of its license.
diff --git a/sh/Android.mk b/sh/Android.mk
index f5218ed..958c3dc 100644
--- a/sh/Android.mk
+++ b/sh/Android.mk
@@ -13,7 +13,6 @@
expand.c \
input.c \
jobs.c \
- linenoise.c \
main.c \
memalloc.c \
miscbltin.c \
@@ -34,6 +33,8 @@
LOCAL_CFLAGS += -DSHELL -DWITH_LINENOISE
+LOCAL_STATIC_LIBRARIES := liblinenoise
+
make_ash_files: PRIVATE_SRC_FILES := $(SRC_FILES)
make_ash_files: PRIVATE_CFLAGS := $(LOCAL_CFLAGS)
make_ash_files: