summaryrefslogtreecommitdiffstats
path: root/docs/manual/adding-packages-cmake.txt
diff options
context:
space:
mode:
authorRodrigo Rebello <rprebello@gmail.com>2016-03-01 22:58:13 -0300
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-03-06 15:59:25 +0100
commit770965edfcf0463e681b0a5fb48757d16dc37751 (patch)
tree6d3cf8a2630439291e7d1921faa73cba5182cf39 /docs/manual/adding-packages-cmake.txt
parent74458d0f44a8e0477f9315d189a629d2a36c4912 (diff)
downloadbuildroot-770965edfcf0463e681b0a5fb48757d16dc37751.tar.gz
buildroot-770965edfcf0463e681b0a5fb48757d16dc37751.zip
sdl_mixer: add patch to fix SDL_mixer.pc for static linking
A 'Libs.private' field needs to be present and properly defined in the pkg-config file in order for static linking against SDL_mixer to work. Besides adding the mentioned field, the included patch also modifies configure.in so that EXTRA_LDFLAGS (which is now also used as the value of 'Libs.private') no longer includes SDL_LIBS. This is done so as to prevent libraries required by SDL from being listed twice when 'pkg-config --libs --static SDL_mixer' is run (they're already shown because of the 'Requires: sdl' line in SDL_mixer.pc). Makefile.in is adjusted accordingly as well. Also enable autoreconf for this package since we're patching configure.in. Signed-off-by: Rodrigo Rebello <rprebello@gmail.com> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Reviewed-by: Romain Naour <romain.naour@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'docs/manual/adding-packages-cmake.txt')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud