From: Xose Vazquez Perez Subject: [PATCH] multipath-tools: add missing "-l" flag for pthread in libdmmp/Makefile Date: Fri, 17 Mar 2017 15:15:23 +0100 Message-ID: <20170317141523.6421-1-xose.vazquez@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com Cc: Gris Ge , device-mapper development , Xose Vazquez Perez List-Id: dm-devel.ids Cc: Gris Ge Cc: Christophe Varoqui Cc: device-mapper development Signed-off-by: Xose Vazquez Perez --- libdmmp/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libdmmp/Makefile b/libdmmp/Makefile index aaff285..c7db054 100644 --- a/libdmmp/Makefile +++ b/libdmmp/Makefile @@ -18,7 +18,7 @@ OBJS = libdmmp.o libdmmp_mp.o libdmmp_pg.o libdmmp_path.o libdmmp_misc.o CFLAGS += -fvisibility=hidden -I$(libdmmpdir) -I$(mpathcmddir) \ $(shell pkg-config --cflags json-c) -LIBDEPS += $(shell pkg-config --libs json-c) -L$(mpathcmddir) -lmpathcmd -pthread +LIBDEPS += $(shell pkg-config --libs json-c) -L$(mpathcmddir) -lmpathcmd -lpthread all: $(LIBS) doc -- 2.12.0