Set GD_LIB to gd on mingw

Setting GD_LIB to libgd on MINGW builds results in
liblibgd.a and liblibgd.dll.a being built.
master
Gregory Boyce 2021-07-15 15:39:15 -04:00
parent bf36fa539b
commit f8cd3dbbc7
1 changed files with 1 additions and 0 deletions

View File

@ -261,6 +261,7 @@ else (USE_EXT_GD)
ADD_DEFINITIONS("/D_CRT_SECURE_NO_DEPRECATE")
endif(NOT MINGW AND MSVC_VERSION GREATER 1399)
if (MINGW OR MSYS)
SET(GD_LIB gd)
ADD_DEFINITIONS("-mms-bitfields") # -m32
endif (MINGW OR MSYS)
else (WIN32)