Fix linking step for new lib name

This commit is contained in:
Pranith Kumar 2016-05-03 11:02:28 -04:00
parent 97aecf4bf9
commit 54f8925884
1 changed files with 1 additions and 1 deletions

View File

@ -412,7 +412,7 @@ ifeq ($(CAPSTONE_SHARED),yes)
$(INSTALL_LIB) $(LIBRARY) $(DESTDIR)/$(LIBDIR)
ifneq ($(VERSION_EXT),)
cd $(DESTDIR)/$(LIBDIR) && \
mv lib$(LIBNAME).$(EXT) lib$(LIBNAME).$(VERSION_EXT) && \
rm -f lib$(LIBNAME).$(EXT) && \
ln -s lib$(LIBNAME).$(VERSION_EXT) lib$(LIBNAME).$(EXT)
endif
endif