Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 485650 - app-emulation/qemu[static]: configure should call sdl-config --static
Summary: app-emulation/qemu[static]: configure should call sdl-config --static
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Doug Goldstein (RETIRED)
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2013-09-22 12:01 UTC by Denis Kaganovich
Modified: 2014-04-19 16:46 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
qemu-static-sdl.patch (qemu-static-sdl.patch,466 bytes, patch)
2013-09-22 12:05 UTC, Denis Kaganovich
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Denis Kaganovich 2013-09-22 12:01:49 UTC
app-emulation/qemu[static] failed to configure:
ERROR: User requested feature sdl
       configure was not able to find it

This caused by using "$sdlconfig --static-libs", but it use "sdl-config",  or "pkgconfig sdl", but "pkgconfig" must be called with "--static --libs" params. Attaching patch.

Reproducible: Always
Comment 1 Denis Kaganovich 2013-09-22 12:05:10 UTC
Created attachment 359224 [details, diff]
qemu-static-sdl.patch
Comment 2 SpanKY gentoo-dev 2013-12-19 07:40:01 UTC
better yet, use pkg-config.  libsdl provides sdl.pc now.
Comment 3 SpanKY gentoo-dev 2014-04-19 16:46:38 UTC
the latest version will query pkg-config for sdl support, so there shouldn't be any need to mess with the sdl-config script logic