sdl_image: add host version
authorMaxime Hadjinlian <maxime.hadjinlian@gmail.com>
Mon, 17 Feb 2014 23:37:11 +0000 (00:37 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 19 Feb 2014 15:13:15 +0000 (16:13 +0100)
Host version is needed to build xbmc

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/sdl_image/sdl_image.mk

index ba9751de6075d00c8da40323c3e3ec9c05e239e5..05b9a1ffb9d828fd185836479c39a8b0b20527c1 100644 (file)
@@ -38,4 +38,15 @@ SDL_IMAGE_DEPENDENCIES = sdl \
        $(if $(BR2_PACKAGE_SDL_IMAGE_TIFF),tiff) \
        $(if $(BR2_PACKAGE_SDL_IMAGE_WEBP),webp)
 
+HOST_SDL_IMAGE_CONF_OPT = --with-sdl-prefix=$(HOST_DIR)/usr \
+                --with-sdl-exec-prefix=$(HOST_DIR)/usr \
+                --disable-sdltest \
+                --disable-static \
+                --disable-jpg-shared \
+                --disable-png-shared \
+                --disable-tif-shared \
+
+HOST_SDL_IMAGE_DEPENDENCIES = host-libjpeg host-libpng host-sdl
+
 $(eval $(autotools-package))
+$(eval $(host-autotools-package))