diff mbox

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

Message ID 20170317141523.6421-1-xose.vazquez@gmail.com (mailing list archive)
State Superseded, archived
Delegated to: Mike Snitzer
Headers show

Commit Message

Xose Vazquez Perez March 17, 2017, 2:15 p.m. UTC
Cc: Gris Ge <fge@redhat.com>
Cc: Christophe Varoqui <christophe.varoqui@opensvc.com>
Cc: device-mapper development <dm-devel@redhat.com>
Signed-off-by: Xose Vazquez Perez <xose.vazquez@gmail.com>
---
 libdmmp/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Christophe Varoqui March 23, 2017, 8:32 a.m. UTC | #1
Applied.
Thanks

On Fri, Mar 17, 2017 at 3:15 PM, Xose Vazquez Perez <xose.vazquez@gmail.com>
wrote:

> Cc: Gris Ge <fge@redhat.com>
> Cc: Christophe Varoqui <christophe.varoqui@opensvc.com>
> Cc: device-mapper development <dm-devel@redhat.com>
> Signed-off-by: Xose Vazquez Perez <xose.vazquez@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
>
>
--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel
diff mbox

Patch

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