qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 2/3] use pkg-config for sdl when cross compiling


From: Anthony Liguori
Subject: Re: [Qemu-devel] [PATCH 2/3] use pkg-config for sdl when cross compiling
Date: Mon, 11 Jan 2010 13:40:18 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.5) Gecko/20091209 Fedora/3.0-4.fc12 Lightning/1.0pre Thunderbird/3.0

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

[Prev in Thread] Current Thread [Next in Thread]