From 9ac477c314c01464e3a4259e6c50881230a2f96e Mon Sep 17 00:00:00 2001 From: Alex Zhuravlev Date: Thu, 12 Apr 2018 11:32:32 +0300 Subject: [PATCH] LU-10909 utils: enable non-shared libmount_utils_ldiskfs.a It depends on libcfs.a (due to cfs_abs_path()) so that library must come after it in the list of libraries provided to the linker. Test-Parameters: trivial Change-Id: Id3026705ebac65b74d1ea48964c25aa6c4834552 Signed-off-by: Alex Zhuravlev Reviewed-on: https://review.whamcloud.com/31970 Tested-by: Jenkins Reviewed-by: John L. Hammond Reviewed-by: James Simmons Tested-by: Maloo 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 aaac49d..67d8da1 100644 --- a/lustre/utils/Makefile.am +++ b/lustre/utils/Makefile.am @@ -175,8 +175,8 @@ endif # LDISKFS_ENABLED mount_lustre_SOURCES = mount_lustre.c mount_utils.c mount_utils.h $(GSSSRC) mount_lustre_CPPFLAGS := ${MNTMODCFLAGS} mount_lustre_LDFLAGS := ${MNTMODLDFLAGS} -mount_lustre_LDADD := $(top_builddir)/libcfs/libcfs/libcfs.la \ - $(SELINUX) $(LDLIBMOUNT) $(PLUGIN_LIB) $(GSSLIB) +mount_lustre_LDADD := $(SELINUX) $(LDLIBMOUNT) $(PLUGIN_LIB) $(GSSLIB) \ + $(top_builddir)/libcfs/libcfs/libcfs.la mkfs_lustre_SOURCES = mkfs_lustre.c mount_utils.c mount_utils.h $(GSSSRC) mkfs_lustre_CPPFLAGS := -UTUNEFS ${MNTMODCFLAGS} -- 1.8.3.1