From: Alex Zhuravlev Date: Thu, 12 Apr 2018 08:32:32 +0000 (+0300) Subject: LU-10909 utils: enable non-shared libmount_utils_ldiskfs.a X-Git-Tag: 2.11.52~40 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=9ac477c314c01464e3a4259e6c50881230a2f96e;p=fs%2Flustre-release.git 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 --- 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}