Makefile: overwrite existent library for install target with 'ln -sf'

This commit is contained in:
Nguyen Anh Quynh 2015-10-25 09:44:01 +08:00
parent be36122d0c
commit a1f8c8ae87

View File

@ -266,7 +266,7 @@ ifeq ($(UNICORN_SHARED),yes)
$(INSTALL_LIB) $(LIBRARY) $(LIBDIR)
ifneq ($(VERSION_EXT),)
cd $(LIBDIR) && \
ln -s lib$(LIBNAME).$(VERSION_EXT) lib$(LIBNAME).$(EXT)
ln -sf lib$(LIBNAME).$(VERSION_EXT) lib$(LIBNAME).$(EXT)
endif
endif
ifeq ($(UNICORN_STATIC),yes)