From 54f89258847b2c7d7bd98319e29b3d60a15ffbaf Mon Sep 17 00:00:00 2001 From: Pranith Kumar Date: Tue, 3 May 2016 11:02:28 -0400 Subject: [PATCH] Fix linking step for new lib name --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b58b7295..73e89ef5 100644 --- a/Makefile +++ b/Makefile @@ -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