]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commit
SDL_image: fix runtime libjpeg failure
authorBaruch Siach <baruch@tkos.co.il>
Mon, 23 Nov 2009 22:05:23 +0000 (23:05 +0100)
committerPeter Korsgaard <jacmet@sunsite.dk>
Mon, 23 Nov 2009 22:05:23 +0000 (23:05 +0100)
commit883f066797ae0e7a017fac8e275f6e58659db760
treede10c1085278f7e08fe9dc84a38289ad164d59de
parent9627e21153693f296f41c0339e14d6ed18445d7e
SDL_image: fix runtime libjpeg failure

By default SDL_image loads libjpeg at runtime on-demand. The find_lib
routine in the configure script of SDL_image searches the /usr/lib directory
of the host machine to find the file name of the jpeg library.

When the host on which Buildroot is being built contains newer version of
libjpeg (e.g.  libjpeg7), the configure script incorrectly uses its file
name. The result is a runtime failure to load libjpeg.

Fix this by disabling runtime load of libjpeg.

[Peter: disable for png+tiff as well]

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
CHANGES
package/sdl_image/sdl_image.mk