[openib-general] [PATCH] osm: trivial additional vendor lib link for marking vendor type
Eitan Zahavi
eitan at mellanox.co.il
Wed Mar 29 14:29:13 PST 2006
Hi Hal
This simple patch allows easy recognition of the vendor type built.
A new link is created with teh vendor type postfix.
Eitan
Signed-off-by: Eitan Zahavi <eitan at mellanox.co.il>
Index: libvendor/Makefile.am
===================================================================
--- libvendor/Makefile.am (revision 6076)
+++ libvendor/Makefile.am (working copy)
@@ -94,4 +94,5 @@ dist-hook: libosmvendor.spec
install-exec-hook:
if test -L $(DESTDIR)/$(libdir)/libosmvendor-$(VERSION).so; then rm $(DESTDIR)/$(libdir)/libosmvendor-$(VERSION).so; fi; \
lname=`\ls -l $(DESTDIR)/$(libdir)/libosmvendor.so | awk '{print $$NF}'`; \
+ ln -s $$lname $(DESTDIR)/$(libdir)/libosmvendor_$(with_osmv).so; \
ln -s $$lname $(DESTDIR)/$(libdir)/libosmvendor-$(VERSION).so
More information about the general
mailing list