This is my use case: I am maintainig the debian package for qutecom (ex wengophone). It depends on ffmpeg (so I need libavcodec-dev). At runtime it will enable video support if h26[13] video encoders are avavilable. So, in order to test this part, I need to remove -dev and install -unstripped libraries.
However I see your point about building against the wrong package...
This is my use case: I am maintainig the debian package for qutecom (ex wengophone). It depends on ffmpeg (so I need libavcodec-dev). At runtime it will enable video support if h26[13] video encoders are avavilable. So, in order to test this part, I need to remove -dev and install -unstripped libraries.
However I see your point about building against the wrong package...