summaryrefslogtreecommitdiff
path: root/windows
diff options
context:
space:
mode:
authorwillson-chen <53104026+willson-chen@users.noreply.github.com>2019-10-10 14:50:51 +0800
committerMike Frysinger <vapier@gentoo.org>2019-10-09 23:50:51 -0700
commit84c49063f9a5c1c4e7492c4b7d2d56cc9b8cbf0f (patch)
tree316eb1d378dd38823dd76d2a2c50bfc09ad3351e /windows
parent619e71501e7c576ea780518fa101e31ccca2d1b3 (diff)
downloadlibgd-84c49063f9a5c1c4e7492c4b7d2d56cc9b8cbf0f.tar.gz
windows/msys/Mkefile: add gd formats option
This fixes 'gd image support has been disabled' in test cases of operating gd image, like gd/gd_im2im.c.
Diffstat (limited to 'windows')
-rw-r--r--windows/msys/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/windows/msys/Makefile b/windows/msys/Makefile
index 167986b..d4acaaf 100644
--- a/windows/msys/Makefile
+++ b/windows/msys/Makefile
@@ -8,7 +8,8 @@ LIBVER=3.0.1
# Misc. config flags.
CDEFS=-DHAVE_ICONV -DHAVE_ICONV_H \
-DHAVE_ICONV_T_DEF -DHAVE_INTTYPES_H \
--DHAVE_STDINT_H -DHAVE_VISIBILITY -DICONV_CONST
+-DHAVE_STDINT_H -DHAVE_VISIBILITY -DICONV_CONST \
+-DENABLE_GD_FORMATS=1
# GnuWin32 libs should all be installed in one place.
GNUDIR=/c/tools/GnuWin32