final fix for the static jpeg build on Windows

SVN revision: 57367
This commit is contained in:
Vincent Torri 2011-02-27 10:31:18 +00:00
parent 7a66e72df5
commit c94650f933
2 changed files with 2 additions and 1 deletions

View File

@ -797,6 +797,7 @@ case "$host_os" in
;;
*)
if test "x${have_evas_image_loader_jpeg}" = "xyes" ; then
AC_DEFINE(EVAS_BUILD_SAVER_JPEG, [1], [Build JPEG saver])
have_evas_image_saver_jpeg="yes"
fi
;;

View File

@ -246,7 +246,7 @@ static const struct {
#ifdef EVAS_STATIC_BUILD_EET
EVAS_EINA_STATIC_MODULE_USE(image_saver, eet),
#endif
#ifdef EVAS_STATIC_BUILD_JPEG
#if defined (EVAS_BUILD_SAVER_JPEG) && defined (EVAS_STATIC_BUILD_JPEG)
EVAS_EINA_STATIC_MODULE_USE(image_saver, jpeg),
#endif
#ifdef EVAS_STATIC_BUILD_PNG