SDL: minor update to os2 makefile. (b6d40)

From b6d40b29a9a43f1da5de2230470f12df47308bae Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Wed, 8 Dec 2021 21:15:24 +0300
Subject: [PATCH] minor update to os2 makefile.

---
 Makefile.os2 | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/Makefile.os2 b/Makefile.os2
index ab42a88d8ec..c1c3c1eef5a 100644
--- a/Makefile.os2
+++ b/Makefile.os2
@@ -10,6 +10,8 @@ VERSION = 2.0.19
 DESCRIPTION = Simple DirectMedia Layer 2
 
 LIBICONV=0
+# iconv.lib or iconv2.lib:
+ICONVLIB=iconv.lib
 
 LIBHOME = .
 DLLFILE = $(LIBHOME)/$(LIBNAME).dll
@@ -19,7 +21,7 @@ LNKFILE = $(LIBNAME).lnk
 INCPATH = -I"$(%WATCOM)/h/os2" -I"$(%WATCOM)/h"
 INCPATH+= -Iinclude
 
-LIBM = libm.lib
+LIBM = SDL2libm.lib
 LIBS = mmpm2.lib $(LIBM)
 CFLAGS = -bt=os2 -d0 -q -bm -5s -fp5 -fpi87 -sg -oteanbmier -ei
 # max warnings:
@@ -31,7 +33,7 @@ CFLAGS+= -bd
 # iconv:
 !ifeq LIBICONV 1
 CFLAGS+= -DHAVE_ICONV=1 -DHAVE_ICONV_H=1
-LIBS+= iconv.lib
+LIBS+= $(ICONVLIB)
 !else
 LIBS+= libuls.lib libconv.lib
 !endif