Re: [Librtas-devel] [PATCH 1/1] librtas: install librtas.so.1 symlink
Brought to you by:
nfont
From: Vasant H. <heg...@li...> - 2015-05-07 05:22:00
|
On 05/07/2015 06:57 AM, Sam Bobroff wrote: > Add a line to the librtas Makefile to create librtas.so.1 when > performing "make install". This matches the librtasevent.so.1 that is > already created. > > This allows systems that rely on the existance of that link to > successfully build programs using librtas when it is installed > directly from the source. > > Signed-off-by: Sam Bobroff <sam...@au...> > --- > > librtas_src/Makefile | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/librtas_src/Makefile b/librtas_src/Makefile > index 3a10222..deba29d 100644 > --- a/librtas_src/Makefile > +++ b/librtas_src/Makefile > @@ -33,6 +33,7 @@ install: > @$(call install_lib,$(LIBRTAS),$(DESTDIR)) > @$(call install_inc,$(HEADERS),$(DESTDIR)) > @ln -sf $(LIBRTAS) $(DESTDIR)/$(LIB_DIR)$(call is_lib64,$(LIBRTAS))/$(LIBRTAS_SONAME) > + @ln -sf $(LIBRTAS) $(DESTDIR)/$(LIB_DIR)$(call is_lib64,$(LIBRTAS))/$(LIBRTAS_SONAME).1 > > uninstall: > @$(call uninstall_lib,$(LIBRTAS),$(DESTDIR)) And remove librtas.so.1 during uninstall ? -Vasant |