[ofa-general] [PATCH] opensm/libvendor/Makefile.am: create symbolic link to osmvendor library

Yevgeny Kliteynik kliteyn at dev.mellanox.co.il
Wed Aug 13 07:52:00 PDT 2008


Hi Sasha,

Creating a symbolic link to the vendor library that denotes
which type of vendor it is. This is needed for ibutils/ibis.
This instal-exec-hook (among many others) was removed
by the following patch:
http://lists.openfabrics.org/pipermail/general/2008-July/052742.html

Signed-off-by: Yevgeny Kliteynik <kliteyn at dev.mellanox.co.il>
---
 opensm/libvendor/Makefile.am |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/opensm/libvendor/Makefile.am b/opensm/libvendor/Makefile.am
index f72dbbe..a6dd0b9 100644
--- a/opensm/libvendor/Makefile.am
+++ b/opensm/libvendor/Makefile.am
@@ -88,3 +88,8 @@ libosmvendorinclude_HEADERS = $(HDRS)

 # headers are distributed as part of the include dir
 EXTRA_DIST = $(srcdir)/libosmvendor.map $(srcdir)/libosmvendor.ver
+
+# Create a link to the installed vendor lib to
+# mark the type of the vendor library
+install-exec-hook:
+	ln -sf $(DESTDIR)/$(libdir)/libosmvendor.so $(DESTDIR)/$(libdir)/libosmvendor_$(with_osmv).so
-- 
1.5.1.4




More information about the general mailing list