[Ffmpeg-devel] [PATCH] Only install swscale headers when needed

Måns Rullgård mans
Tue Apr 3 00:34:52 CEST 2007


xtophe at nxtelevision.com writes:

> Hello,
>
> Attached a patch to only install swscale's headers and .pc file when
> swscale has been activated in configure.
>
> Index: Makefile
> ===================================================================
> --- Makefile	(revision 8597)
> +++ Makefile	(working copy)
> @@ -149,7 +149,9 @@
>  ifeq ($(CONFIG_PP),yes)
>  	$(MAKE) -C libpostproc install-headers
>  endif
> +ifeq ($(CONFIG_SWSCALER),yes)
>  	$(MAKE) -C libswscale  install-headers
> +endif

This is wrong.  The headers are needed even if the library is not
built.

-- 
M?ns Rullg?rd
mans at mansr.com




More information about the ffmpeg-devel mailing list