From b6c2ffa661f5aceb50fe03fbc8cfd7cdf7966ae2 Mon Sep 17 00:00:00 2001 From: Nathaniel Clark Date: Thu, 19 Jul 2018 15:26:27 -0400 Subject: [PATCH] LU-11160 build: Fix uuid / blkid dependency UUID dependency stems from libblkid, so only link with uuid if blkid is present. Signed-off-by: Nathaniel Clark Change-Id: If1cc293cc48210a065f8910ea655615b11268b5c Reviewed-on: https://review.whamcloud.com/32842 Reviewed-by: Quentin Bouget Reviewed-by: Andreas Dilger Tested-by: Jenkins Tested-by: Maloo Reviewed-by: James Simmons Reviewed-by: Oleg Drokin --- lustre/utils/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lustre/utils/Makefile.am b/lustre/utils/Makefile.am index a574817..82d1c40 100644 --- a/lustre/utils/Makefile.am +++ b/lustre/utils/Makefile.am @@ -80,14 +80,14 @@ EXT2FSLIB = endif if BLKID -BLKIDLIB = -lblkid +BLKIDLIB = -lblkid -luuid else BLKIDLIB = endif llverfs_LDADD := $(EXT2FSLIB) $(E2PLIB) -llverdev_LDADD := $(EXT2FSLIB) $(BLKIDLIB) -luuid +llverdev_LDADD := $(EXT2FSLIB) $(BLKIDLIB) liblustreapi_la_SOURCES = liblustreapi.c liblustreapi_hsm.c \ liblustreapi_nodemap.c lustreapi_internal.h \ -- 1.8.3.1