|
From: | Paolo Bonzini |
Subject: | [Qemu-devel] Re: [PATCH] Give sdl-config higher priority than pkg-config |
Date: | Sun, 14 Feb 2010 13:04:31 +0100 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.7) Gecko/20100120 Fedora/3.0.1-1.fc12 Lightning/1.0b2pre Thunderbird/3.0.1 |
On 02/14/2010 08:23 AM, Blue Swirl wrote:
On OpenBSD, pkg-config sdl --cflags forgets to add -I/usr/local/include which is needed for iconv.h (included from SDL.h). This makes SDL detection fail. Try sdl-config first, only if it fails try pkg-config.
This breaks cross-compilation. I'm CCing the OpenBSD package maintainer so that he can fix it.
Upstream SDL has --cflags) echo address@hidden@/SDL @SDL_CFLAGS@ ;; in sdl-config.in and Cflags: -I${includedir}/SDL @SDL_CFLAGS@in sdl.pc.in, while OpenBSD has different values, so he modified sdl-config apparently but not sdl.pc.in.
Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |