Whamcloud - gitweb
b=22749 revert "b=20355 Add $(PTHREAD_LIBS) to lctl and lfs build"
authorBrian J. Murrell <brian.murrell@oracle.com>
Fri, 14 May 2010 15:18:02 +0000 (11:18 -0400)
committerjohann <johann@granier.local>
Mon, 17 May 2010 07:07:48 +0000 (09:07 +0200)
This reverts commit 9797ebe88156330be7338e0bd75d73292e38e007 to resolve
an issue with lctl --threads not working correctly with  $(PTHREAD_LIBS)
being linked to lctl.

i=johann
i=adilger

lustre/utils/Makefile.am

index 4fa490a..854a7a9 100644 (file)
@@ -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) $(PTHREAD_LIBS)
+lctl_LDADD := $(LIBREADLINE) liblustreapi.a $(LIBPTLCTL)
 lctl_DEPENDENCIES := $(LIBPTLCTL) liblustreapi.a
 
 lfs_SOURCES = lfs.c parser.c lustre_cfg.c obd.c
-lfs_LDADD := $(LIBREADLINE) liblustreapi.a $(LIBPTLCTL) $(PTHREAD_LIBS)
-lfs_DEPENDENCIES := $(LIBPTLCTL) liblustreapi.a
+lfs_LDADD := $(LIBREADLINE) liblustreapi.a $(LIBPTLCTL)
+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