aboutsummaryrefslogtreecommitdiff
path: root/qemu-barrier.h
diff options
context:
space:
mode:
authorStefan Weil <weil@mail.berlios.de>2010-04-11 18:44:18 +0200
committerAurelien Jarno <aurelien@aurel32.net>2010-05-19 08:46:10 +0200
commitfec0e3e8a735790e903c6f2f82ca0070103f10c4 (patch)
tree437f440cd296cef6189edd22f4c4ec08ab31c603 /qemu-barrier.h
parentd5900813807e237b9f4251290f46125a817da66d (diff)
Fix cross compilation
This patch enhances the algorithm which finds the correct settings for SDL. For cross compilations (when cross_prefix is set), it looks for sdl-config with cross prefix. Here is the complete search order: $(cross_prefix}pkg-config (old, only used for cross compilation) ${cross_prefix}sdl_config (new, only used for cross compilation) pkg-config (old, needs PATH) sdl-config (old, needs PATH) Cross SDL packages (or the user) now can simply set a link (for example /usr/bin/i586-mingw32msvc-sdl-config -> /usr/i586-mingw32msvc/bin/sdl-config) which allows cross compilations without PATH modifications. Without the patch, configure and make (which calls configure) typically need a non-standard PATH. Failing to set this special PATH results in broken builds. Signed-off-by: Stefan Weil <weil@mail.berlios.de> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'qemu-barrier.h')
0 files changed, 0 insertions, 0 deletions