From bc52f897543e0dca3c37fcbc979c22cbe44e2098 Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Tue, 1 Nov 2022 18:24:10 +0300
Subject: [PATCH] updated os/2 watcom makefile after commit aa19bc897ddc.
---
Makefile.os2 | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Makefile.os2 b/Makefile.os2
index 3448cb64..0c40f95c 100644
--- a/Makefile.os2
+++ b/Makefile.os2
@@ -24,7 +24,7 @@ SRCS = IMG.c IMG_bmp.c IMG_gif.c IMG_jpg.c IMG_lbm.c IMG_pcx.c IMG_png.c &
IMG_pnm.c IMG_svg.c IMG_tga.c IMG_tif.c IMG_xcf.c IMG_xpm.c IMG_xv.c &
IMG_webp.c IMG_qoi.c IMG_avif.c IMG_jxl.c IMG_stb.c
-LIBS = libpng.lib libtiff.lib zlib.lib jpeg.lib webpdec.lib SDL2.lib
+LIBS = libpng.lib libtiff.lib zlib.lib jpeg.lib webpdec.lib webpdemux.lib SDL2.lib
CFLAGS_BASE = -bt=os2 -ei -d0 -q -5s -fp5 -fpi87 -sg -oeatxh
# warnings:
@@ -48,6 +48,7 @@ CFLAGS+= -DLOAD_JPG -DLOAD_PNG -DLOAD_BMP -DLOAD_GIF -DLOAD_LBM &
#CFLAGS+= -DLOAD_AVIF
#CFLAGS+= -DLOAD_JXL
#CFLAGS+= -DUSE_STBIMAGE -DSTBI_NO_SIMD
+
CFLAGS+= -DSDL_IMAGE_SAVE_JPG=1
CFLAGS+= -DSDL_IMAGE_SAVE_PNG=1