Blob Blame Raw
From: Peter Lemenkov <lemenkov@gmail.com>
Date: Wed, 26 Mar 2014 13:10:07 +0400
Subject: [PATCH] Don't remove pthread library explicitly from mi_xmlrpc

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>

diff --git a/obsolete_modules/mi_xmlrpc/Makefile b/obsolete_modules/mi_xmlrpc/Makefile
index 762c2dda2..955528f10 100644
--- a/obsolete_modules/mi_xmlrpc/Makefile
+++ b/obsolete_modules/mi_xmlrpc/Makefile
@@ -76,7 +76,7 @@ ifeq ($(NEW),yes)
 	# remove the abyss library - we already have
 	# the code in the module
 	MY_DEFS+=-D_UNIX
-	MY_LIBS:=$(filter-out %xmlrpc_abyss %xmlrpc_server_abyss %pthread, $(MY_LIBS))
+	MY_LIBS:=$(filter-out %xmlrpc_abyss %xmlrpc_server_abyss, $(MY_LIBS))
 else
 	# remove from compiling the code we have in the
 	# module for abyss server
@@ -90,7 +90,7 @@ endif
 
 
 DEFS+=$(MY_DEFS)
-LIBS=$(MY_LIBS)
+LIBS=$(MY_LIBS) -lpthread
 
 
 include ../../Makefile.modules