On 01/07/2010 08:42 AM, Paolo Bonzini wrote:
Together with the previous patch this enables using the prefixed
pkg-config, thus picking up the correct flags for SDL.  Since
pkg-config has an awful lot of dependencies, I still use sdl-config
when not cross-compiling since some people may only have the latter.

Wouldn't it make more sense to try to use pkg-config always and if it's not available, fall back on sdl-config?

That means we don't have a separate code path for cross compiling which means it's less likely to break.

Regards,

Anthony Liguori


Reply via email to