From 9797ebe88156330be7338e0bd75d73292e38e007 Mon Sep 17 00:00:00 2001 From: Cliff White Date: Wed, 3 Feb 2010 11:41:54 -0800 Subject: [PATCH] b=20355 Add $(PTHREAD_LIBS) to lctl and lfs build i=johann $(PTHREAD_LIBS) is needed to compile lctl and lfs for BG/P --- lustre/utils/Makefile.am | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lustre/utils/Makefile.am b/lustre/utils/Makefile.am index 854a7a9..4fa490a 100644 --- a/lustre/utils/Makefile.am +++ b/lustre/utils/Makefile.am @@ -6,7 +6,7 @@ AM_LDFLAGS := -L$(top_builddir)/lnet/utils LIBPTLCTL := $(top_builddir)/lnet/utils/libptlctl.a -sbin_scripts = lrun +sbin_scripts = lrun bin_scripts = llstat llobdstat plot-llstat if UTILS @@ -28,12 +28,12 @@ endif # UTILS lib_LIBRARIES = liblustreapi.a lctl_SOURCES = parser.c obd.c lustre_cfg.c lctl.c parser.h obdctl.h platform.h -lctl_LDADD := $(LIBREADLINE) liblustreapi.a $(LIBPTLCTL) +lctl_LDADD := $(LIBREADLINE) liblustreapi.a $(LIBPTLCTL) $(PTHREAD_LIBS) lctl_DEPENDENCIES := $(LIBPTLCTL) liblustreapi.a lfs_SOURCES = lfs.c parser.c lustre_cfg.c obd.c -lfs_LDADD := $(LIBREADLINE) liblustreapi.a $(LIBPTLCTL) -lfs_DEPENDENCIES := $(LIBPTLCTL) liblustreapi.a +lfs_LDADD := $(LIBREADLINE) liblustreapi.a $(LIBPTLCTL) $(PTHREAD_LIBS) +lfs_DEPENDENCIES := $(LIBPTLCTL) liblustreapi.a loadgen_SOURCES = loadgen.c lustre_cfg.c obd.c loadgen_LDADD := $(LIBREADLINE) liblustreapi.a $(LIBPTLCTL) $(PTHREAD_LIBS) @@ -45,7 +45,7 @@ if EXT2FS_DEVEL EXT2FSLIB = -lext2fs E2PLIB = -le2p else -E2PLIB = +E2PLIB = EXT2FSLIB = endif -- 1.8.3.1