Makefile.os2: -DSDL_USE_LIBICONV to fix linkage for GNU libiconv option

This commit is contained in:
Ozkan Sezer 2023-12-21 08:55:04 +03:00
parent ca26cde4e1
commit 39a0013900

View file

@ -56,7 +56,7 @@ CFLAGS_DLL+= -bd
# iconv:
LIBICONV_LIB=iconv2.lib
!ifeq LIBICONV 1
CFLAGS_DLL+= -DHAVE_ICONV=1 -DHAVE_ICONV_H=1
CFLAGS_DLL+= -DHAVE_ICONV=1 -DHAVE_ICONV_H=1 -DSDL_USE_LIBICONV
LIBS+= $(ICONVLIB)
!else
LIBS+= libuls.lib libconv.lib