summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJari Vetoniemi <mailroxas@gmail.com>2018-04-19 22:46:33 +0300
committerJari Vetoniemi <mailroxas@gmail.com>2018-04-19 22:46:33 +0300
commit324e3f14574245b8b6de2325460e4a8266492458 (patch)
tree1a693f769988c5bd509e6d0717d0de91787d9ad5
parentb31c4970aa63ec41cd1cdb97c58b83139673d39f (diff)
libc: add libunwind dependency
Used in android for stack unwinding for c++
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f69136c..6932f19 100644
--- a/Makefile
+++ b/Makefile
@@ -35,7 +35,7 @@ runtime/libdl.so: private CFLAGS += -Wno-pedantic -Wno-variadic-macros -Wno-poin
runtime/libdl.so: runtime wrapper.a src/linker/dlfcn.c src/linker/linker.c src/linker/linker_environ.c src/linker/rt.c src/linker/strlcpy.c
runtime/libc.so: private CPPFLAGS += -D_GNU_SOURCE
runtime/libc.so: private CFLAGS += -Wno-deprecated-declarations
-runtime/libc.so: private LDLIBS += `pkg-config --libs libbsd`
+runtime/libc.so: private LDLIBS += `pkg-config --libs libbsd libunwind`
runtime/libc.so: runtime verbose src/libc.c
runtime/libpthread.so: private CPPFLAGS += -D_GNU_SOURCE
runtime/libpthread.so: private LDLIBS += -lpthread