Ticket #349: ffmpeg-implib-install.patch

File ffmpeg-implib-install.patch, 1.1 KB (added by stump, 4 years ago)

My workaround, for reference.

  • library.mak

    From c207567fe0d2985182471076ddcc9725f782d84b Mon Sep 17 00:00:00 2001
    From: John Stumpo <stump@jstump.com>
    Date: Tue, 24 Jul 2012 19:45:35 -0400
    Subject: [PATCH] build: Ignore errors on installing the MSVC import
     libraries, in case those were not built.
    
    ---
     library.mak |    2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
    
    diff --git a/library.mak b/library.mak
    index 53f1ee7..7b60674 100644
    a b install-lib$(NAME)-shared: $(SUBDIR)$(SLIBNAME) 
    6161        $$(INSTALL) -m 755 $$< "$(SHLIBDIR)/$(SLIB_INSTALL_NAME)" 
    6262        $$(STRIP) "$(SHLIBDIR)/$(SLIB_INSTALL_NAME)" 
    6363        $(Q)$(foreach F,$(SLIB_INSTALL_LINKS),cd "$(SHLIBDIR)" && $(LN_S) $(SLIB_INSTALL_NAME) $(F);) 
    64         $(if $(SLIB_INSTALL_EXTRA_SHLIB),$$(INSTALL) -m 644 $(SLIB_INSTALL_EXTRA_SHLIB:%=$(SUBDIR)%) "$(SHLIBDIR)") 
     64        $(if $(SLIB_INSTALL_EXTRA_SHLIB),-$$(INSTALL) -m 644 $(SLIB_INSTALL_EXTRA_SHLIB:%=$(SUBDIR)%) "$(SHLIBDIR)") 
    6565        $(if $(SLIB_INSTALL_EXTRA_LIB),$(Q)mkdir -p "$(LIBDIR)") 
    6666        $(if $(SLIB_INSTALL_EXTRA_LIB),$$(INSTALL) -m 644 $(SLIB_INSTALL_EXTRA_LIB:%=$(SUBDIR)%) "$(LIBDIR)") 
    6767