[Ffmpeg-devel] Re: [RFC] ffmpeg-windows mailinglist?

Måns Rullgård mru
Thu Aug 3 22:55:26 CEST 2006


Diego Biurrun <diego at biurrun.de> writes:

> --- common.mak	(revision 5921)
> +++ common.mak	(working copy)
> @@ -59,16 +59,10 @@
>
>  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
> +	cd "$(shlibdir)"

This can't work.  Each line is run in a new shell so the cd is lost.

> +	install $(INSTALLSTRIP) -m 755 $(SLIBNAME) $(SLIBNAME_WITH_VERSION)
> +	ln -sf $(SLIBNAME_WITH_VERSION) $(SLIBNAME_WITH_MAJOR)
> +	ln -sf $(SLIBNAME_WITH_VERSION) $(SLIBNAME)

-- 
M?ns Rullg?rd
mru at inprovide.com




More information about the ffmpeg-devel mailing list