[Ffmpeg-devel] Re: [RFC] ffmpeg-windows mailinglist?
Diego Biurrun
diego
Thu Aug 3 18:21:59 CEST 2006
On Thu, Aug 03, 2006 at 09:00:02AM +0200, Luca Abeni wrote:
>
> Ok, I tried, and I had 3 small problems:
> 2) As already noticed by others, executables are linked to
> libav{util,codec,format}-major.dll, but libav{util,codec,format}.dll are
> installed. I fixed this by changing $(SLIBNAME) with
> $(SLIBNAME_WITH_MAJOR) in the install-lib-shared rule. But I do not know
> if this is the right solution (anyway, linking to one library and
> installing a different one seems strange ;-)
Please try the attached patch.
Diego
-------------- next part --------------
Index: common.mak
===================================================================
--- common.mak (revision 5919)
+++ common.mak (working copy)
@@ -61,16 +61,12 @@
install-lib-shared: $(SLIBNAME)
install -d "$(shlibdir)"
-ifeq ($(CONFIG_MINGW),yes)
- install $(INSTALLSTRIP) -m 755 $(SLIBNAME) "$(prefix)"
-else
install $(INSTALLSTRIP) -m 755 $(SLIBNAME) \
$(shlibdir)/$(SLIBNAME_WITH_VERSION)
ln -sf $(SLIBNAME_WITH_VERSION) \
$(shlibdir)/$(SLIBNAME_WITH_MAJOR)
ln -sf $(SLIBNAME_WITH_VERSION) \
$(shlibdir)/$(SLIBNAME)
-endif
install-lib-static: $(LIB)
install -d "$(libdir)"
@@ -85,13 +81,9 @@
uninstall: uninstall-libs uninstall-headers
uninstall-libs:
-ifeq ($(CONFIG_MINGW),yes)
- -rm -f $(prefix)/$(SLIBNAME)
-else
-rm -f $(libdir)/$(SLIBNAME_WITH_MAJOR) \
$(libdir)/$(SLIBNAME) \
$(libdir)/$(SLIBNAME_WITH_VERSION)
-endif
-rm -f $(libdir)/$(LIB)
uninstall-headers:
More information about the ffmpeg-devel
mailing list