[ofa-general] [PATCH] ibutils: Fixed dependency of ibdmsh on libibdmcom.la

Nicolas Morey-Chaisemartin nicolas.morey-chaisemartin at ext.bull.net
Mon Apr 27 06:47:31 PDT 2009


ibdmsh has a dependency on libibdmcom.la which was not in Makefile.am
Compilation order makes it transparent in most cases but compilation fails when using -j flag.
This patch fixes the issue

Signed-off-by: Nicolas Morey-Chaisemartin <nicolas.morey-chaisemartin at ext.bull.net>
---
 ibdm/ibdm/Makefile.am |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/ibdm/ibdm/Makefile.am b/ibdm/ibdm/Makefile.am
index 1c57b3b..ba5789a 100644
--- a/ibdm/ibdm/Makefile.am
+++ b/ibdm/ibdm/Makefile.am
@@ -88,6 +88,7 @@ bin_PROGRAMS  = ibdmsh
 ibdmsh_SOURCES = ibdmsh_wrap.cpp
 ibdmsh_LDADD =  -libdmcom $(TCL_LIBS)
 ibdmsh_LDFLAGS = -static -Wl,-rpath -Wl,$(TCL_PREFIX)/lib
+ibdmsh_DEPENDENCIES=$(lib_LTLIBRARIES)
 
 $(srcdir)/Fabric.cpp: $(srcdir)/git_version.h
 
-- 
1.6.2.GIT




More information about the general mailing list