SDL_image: fix runtime libjpeg failure
PATCH 1/1 SDL_image: fix runtime libjpeg failure
PATCH 1/1 SDL_image: fix runtime libjpeg failure
Hi Buildroot list,
Ping?
Should I open a Bugzilla entry to have this issue handled? Is there a better solutions?
baruch
Quoted 34 lines · Baruch Siach
From
d86e3115e0beaf281e791a78a5e73bac69f14128Mon Sep 17 00:00:00 2001
From: Baruch Siach <[email protected]>
Date: Mon, 9 Nov 2009 14:53:30 +0200
Subject: [PATCH]SDL_image: fix runtime libjpeg failureBy default
SDL_imageloads libjpeg at runtime on-demand. Thefind_libroutine in the configure script ofSLD_imagesearches the/usr/libdirectory 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.
Signed-off-by Baruch Siach <[email protected]>--- package/sdl_image/sdl_image.mk | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)package/sdl_image/sdl_image.mk +1
-0@@ -14,6 +14,7 @@ SDL_IMAGE_CONF_OPT:=--with-sdl-prefix=$(STAGING_DIR)/usr \ --with-sdl-exec-prefix=$(STAGING_DIR)/usr \ --disable-sdltest \ --disable-static \ + --disable-jpg-shared \ --enable-bmp=$(if $(BR2_PACKAGE_SDL_IMAGE_BMP),yes,no) \ --enable-gif=$(if $(BR2_PACKAGE_SDL_IMAGE_GIF),yes,no) \ --enable-jpg=$(if $(BR2_PACKAGE_SDL_IMAGE_JPEG),yes,no) \Signature · 1 line
1.6.5
Signature · 3 lines
~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -PATCH 1/1 SDL_image: fix runtime libjpeg failure
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Baruch" == Baruch Siach <[email protected]> writes:
Baruch> Hi Buildroot list,
Baruch> Ping?
Hi, sorry for the slow response.
Baruch> Should I open a Bugzilla entry to have this issue handled? Baruch> Is there a better solutions?
No, it's an OK solution, but it isn't complete as the configure script will do the same for png and tiff, so you need --disable-*-shared for those as well.
I'll fix that and commit, thanks.
Signature · 1 line
Bye, Peter Korsgaard