summaryrefslogtreecommitdiff
path: root/main/Makefile
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2016-06-03 08:59:30 +0300
committerTimo Teräs <timo.teras@iki.fi>2016-06-08 20:37:14 +0300
commit72d190eb69e22661806f1235e7b0d30b555cfb55 (patch)
treec9f3e904ddb2e8f566c429b74ed4947399192f90 /main/Makefile
parent39b69ab5373222812d4e981b27681cd0925fed73 (diff)
Detect and use proper libraries for musl toolchains
Change-Id: I8d9b212f70813404b82918a3f99439e500d4bfcb
Diffstat (limited to 'main/Makefile')
-rw-r--r--main/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/Makefile b/main/Makefile
index 386397801..729ae9c01 100644
--- a/main/Makefile
+++ b/main/Makefile
@@ -46,7 +46,7 @@ AST_LIBS+=$(CRYPT_LIB)
AST_LIBS+=$(AST_CLANG_BLOCKS_LIBS)
AST_LIBS+=$(RT_LIB)
-ifneq ($(findstring $(OSARCH), linux-gnu uclinux linux-uclibc kfreebsd-gnu),)
+ifneq ($(findstring $(OSARCH), linux-gnu uclinux linux-uclibc linux-musl kfreebsd-gnu),)
ifneq ($(findstring LOADABLE_MODULES,$(MENUSELECT_CFLAGS)),)
AST_LIBS+=-ldl
endif