From efb0c87e392e4e719e7b22a4d171381a51998ff4 Mon Sep 17 00:00:00 2001 From: Jonathon Reinhart Date: Sat, 24 Oct 2015 16:43:34 -0400 Subject: [PATCH] fix install logic after changing LIBRARY Now that LIBRARY is the versioned name (e.g. "libunicorn.so.0"), we don't need this rename step; just create the symlink for libunicorn.so. If VERSION_EXT isn't set, then the library we installed already has the correct name, and no symlink is necessary. We should probably be running 'ldconfig' to handle this, or better yet, using libtool. --- Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/Makefile b/Makefile index 51f8b469..bed04589 100644 --- a/Makefile +++ b/Makefile @@ -266,7 +266,6 @@ ifeq ($(UNICORN_SHARED),yes) $(INSTALL_LIB) $(LIBRARY) $(LIBDIR) ifneq ($(VERSION_EXT),) cd $(LIBDIR) && \ - mv lib$(LIBNAME).$(EXT) lib$(LIBNAME).$(VERSION_EXT) && \ ln -s lib$(LIBNAME).$(VERSION_EXT) lib$(LIBNAME).$(EXT) endif endif