[dm-devel] [PATCH] multipath-tools: add missing "-l" flag for pthread in libdmmp/Makefile
Xose Vazquez Perez
xose.vazquez at gmail.com
Fri Mar 17 14:15:23 UTC 2017
Cc: Gris Ge <fge at redhat.com>
Cc: Christophe Varoqui <christophe.varoqui at opensvc.com>
Cc: device-mapper development <dm-devel at redhat.com>
Signed-off-by: Xose Vazquez Perez <xose.vazquez at gmail.com>
---
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
More information about the dm-devel
mailing list