multipath-tools: add missing "-l" flag for pthread in libdmmp/Makefile
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]>
Signed-off-by Xose Vazquez Perez <[email protected]>
--- libdmmp/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
libdmmp/Makefile +1 -1
@@ -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
Christophe Varoqui
AppliedApplied.
Thanks
Quoted 28 lines · Xose Vazquez Perez
Cc Gris Ge <[email protected]>Cc Christophe Varoqui <[email protected]>Cc device-mapper development <[email protected]>Signed-off-by Xose Vazquez Perez <[email protected]>--- libdmmp/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)libdmmp/Makefile +0
-0@@ -18,7 +18,7 @@ OBJS = libdmmp.o libdmmp_mp.o libdmmp_pg.olibdmmp_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