fa3f242
From: Peter Lemenkov <lemenkov@gmail.com>
fa3f242
Date: Wed, 26 Mar 2014 13:10:07 +0400
fa3f242
Subject: [PATCH] Don't remove pthread library explicitly from mi_xmlrpc
fa3f242
fa3f242
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
fa3f242
fa3f242
diff --git a/modules/mi_xmlrpc/Makefile b/modules/mi_xmlrpc/Makefile
fa3f242
index 762c2dd..955528f 100644
fa3f242
--- a/modules/mi_xmlrpc/Makefile
fa3f242
+++ b/modules/mi_xmlrpc/Makefile
fa3f242
@@ -76,7 +76,7 @@ ifeq ($(NEW),yes)
fa3f242
 	# remove the abyss library - we already have
fa3f242
 	# the code in the module
fa3f242
 	MY_DEFS+=-D_UNIX
fa3f242
-	MY_LIBS:=$(filter-out %xmlrpc_abyss %xmlrpc_server_abyss %pthread, $(MY_LIBS))
fa3f242
+	MY_LIBS:=$(filter-out %xmlrpc_abyss %xmlrpc_server_abyss, $(MY_LIBS))
fa3f242
 else
fa3f242
 	# remove from compiling the code we have in the
fa3f242
 	# module for abyss server
fa3f242
@@ -90,7 +90,7 @@ endif
fa3f242
 
fa3f242
 
fa3f242
 DEFS+=$(MY_DEFS)
fa3f242
-LIBS=$(MY_LIBS)
fa3f242
+LIBS=$(MY_LIBS) -lpthread
fa3f242
 
fa3f242
 
fa3f242
 include ../../Makefile.modules