[ofa-general] [PATCH] ibutils/ibis: link ibis dynamically
Sasha Khapyorsky
sashak at voltaire.com
Fri Oct 10 07:34:32 PDT 2008
Otherwise when running against ibsim with libumad2sim.so preloaded it
has two instance (static and dynamic) of libibumad with different
internal initializations, etc.
Signed-off-by: Sasha Khapyorsky <sashak at voltaire.com>
---
ibis/src/Makefile.am | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/ibis/src/Makefile.am b/ibis/src/Makefile.am
index e0b512f..4c6621c 100644
--- a/ibis/src/Makefile.am
+++ b/ibis/src/Makefile.am
@@ -74,8 +74,6 @@ LDADD = $(OSM_LDFLAGS)
ibis_SOURCES = ibissh_wrap.cpp
-ibis_LDFLAGS = -static
-# note the order of the libraries does matter as we static link
ibis_LDADD = -libiscom $(OSM_LDFLAGS) $(TCL_LIBS)
@@ -153,7 +151,8 @@ EXTRA_DIST = swig_extended_obj.c fixSwigWrapper pkgIndex.tcl \
git_version.h
# we do not want the temporary and the archive libs installed:
-install-libLTLIBRARIES:
+#install-libLTLIBRARIES:
+# then objects should be linked into program and no library is created at all
# this actually over write the lib install
install-exec-am: install-binPROGRAMS
--
1.6.0.1.196.g01914
More information about the general
mailing list