On 2011-06-20, Nigel Taylor <[email protected]> wrote: [..] >>> ffmpeg - The libavformat.pc is created in the configure stage not build, >>> the MAKE_FLAGS has no effect. The >>> LIBavformat_EXTRALIBS=-L${LOCALBASE}/lib -lbz2 -lm >>> -Wl,-rpath,${LOCALBASE}/lib is used in creating the libavformat.pc, and >>> that doesn't contain the -lavcodec -lavutil that was added for the >>> MAKE_FLAGS. >> Right. >> > > The attached patch will allow transcode to build with the current > pkg-config. Builds on amd64 current.
I think the correct place to fix this is in ffmpeg, if somebody linking against libavformat needs to use -lavcodec -lavutil, libavformat.pc should contain those flags.
