Index: Makefile =================================================================== --- a/Makefile.orig 2008-01-29 19:22:47.000000000 +0200 +++ b/Makefile 2008-03-27 13:13:34.000000000 +0200 @@ -259,6 +259,10 @@ ASTCFLAGS+=-pthread endif +ifeq ($(OSARCH),linux-uclibc) + AST_LIBS+=-lpthread -ldl +endif + ifeq ($(OSARCH),SunOS) ASTCFLAGS+=-Wcast-align -DSOLARIS -I../include/solaris-compat -I/opt/ssl/include -I/usr/local/ssl/include -D_XPG4_2 endif Index: utils/Makefile =================================================================== --- a/utils/Makefile.orig 2008-03-27 13:14:16.000000000 +0200 +++ b/utils/Makefile 2008-03-27 13:15:06.000000000 +0200 @@ -29,6 +29,10 @@ UTILS:=$(filter-out muted,$(UTILS)) endif +ifeq ($(OSARCH),linux-uclibc) + LIBS+=-lpthread -lm -ldl +endif + ifeq ($(OSARCH),OpenBSD) UTILS:=$(filter-out muted,$(UTILS)) endif