From a5ef42476fa8b9d96509739be9b16528fce038f5 Mon Sep 17 00:00:00 2001
From: Logan Aerl Arias <logana@srb2.org>
Date: Tue, 2 Jan 2024 02:55:10 +0000
Subject: [PATCH] Update dedicated.mk

remove the need for libPNG in dedicated server build
---
 src/Makefile.d/dedicated.mk | 49 +++++++++++++++++++------------------
 1 file changed, 25 insertions(+), 24 deletions(-)

diff --git a/src/Makefile.d/dedicated.mk b/src/Makefile.d/dedicated.mk
index 698ea55319..593a74687f 100644
--- a/src/Makefile.d/dedicated.mk
+++ b/src/Makefile.d/dedicated.mk
@@ -1,24 +1,25 @@
-makedir:=$(makedir)/Dedicated
-
-sources+=$(call List,dedicated/Sourcefile)
-
-opts+=-DDEDICATED
-
-ifdef FREEBSD
-# on FreeBSD, we have to link to libpthread explicitly
-libs+=-lpthread
-endif
-
-ifdef MINGW
-libs+=-mconsole
-endif
-
-ifndef NOTHREADS
-opts+=-DHAVE_THREADS
-sources+=dedicated/i_threads.c
-endif
-
-NOOPENMPT=1
-NOGME=1
-NOHW=1
-NOUPNP=1
+makedir:=$(makedir)/Dedicated
+
+sources+=$(call List,dedicated/Sourcefile)
+
+opts+=-DDEDICATED
+
+ifdef FREEBSD
+# on FreeBSD, we have to link to libpthread explicitly
+libs+=-lpthread
+endif
+
+ifdef MINGW
+libs+=-mconsole
+endif
+
+ifndef NOTHREADS
+opts+=-DHAVE_THREADS
+sources+=dedicated/i_threads.c
+endif
+
+NOOPENMPT=1
+NOGME=1
+NOHW=1
+NOUPNP=1
+NOPNG=1
-- 
GitLab