From: Nathaniel Clark Date: Thu, 19 Jul 2018 19:26:27 +0000 (-0400) Subject: LU-11160 build: Fix uuid / blkid dependency X-Git-Tag: 2.11.54~22 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F42%2F32842%2F4;p=fs%2Flustre-release.git 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 --- 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 \