diff --git a/libavcodec/Makefile b/libavcodec/Makefile index db27a14d8e..2e91588961 100644 --- a/libavcodec/Makefile +++ b/libavcodec/Makefile @@ -497,7 +497,7 @@ ifeq ($(CONFIG_WIN32),yes) else install -d $(libdir) install $(INSTALLSTRIP) -m 755 $(SLIBNAME) $(libdir)/libavcodec-$(VERSION)$(SLIBSUF) - ln -sf libavcodec-$(VERSION)$(SLIBSUF) $(libdir)/libavcodec$(SLIBSUF) + ln -sf $(SLIBPREF)avcodec-$(VERSION)$(SLIBSUF) $(libdir)/$(SLIBNAME) $(LDCONFIG) || true endif ifeq ($(CONFIG_PP),yes)