Skip to contentSkip to conversation

multipath-tools: add missing "-l" flag for pthread in libdmmp/Makefile

PATCH Applied Xose Vazquez Perez 2 participants 2 messages Mar 17, 2017 – Mar 23, 2017 Device mapper

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 multipath-tools: add missing "-l" flag for pthread in libdmmp/Makefile

Cc Gris Ge <[email protected]>
Cc Christophe Varoqui <[email protected]>
Cc device-mapper development <[email protected]>
---
 libdmmp/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
libdmmp/Makefile +1 -1
index aaff285..c7db054 100644
@@ -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
 
Signature · 1 line
2.12.0
#1 lore raw

Applied.
Thanks

Quoted 28 lines · Xose Vazquez Perez
Cc Gris Ge <[email protected]>
Cc Christophe Varoqui <[email protected]>
Cc device-mapper development <[email protected]>
---
 libdmmp/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
libdmmp/Makefile +0 -0
index aaff285..c7db054 100644
@@ -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)
libdmmp/Makefile +1 -4
-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