summaryrefslogtreecommitdiff
path: root/games-rpg/xu4/files/1.4.3-glfw-build.patch
blob: d0bdc677dfd7a2dd5d1a1b9ce39628b1d2614ce1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
From https://github.com/xu4-engine/u4/commit/6a7ee3d0079cfdc1c8fb9ba7a3c710a957155a71
From: Karl Robillard <wickedsmoke@users.sourceforge.net>
Date: Thu, 5 Jun 2025 12:42:51 -0400
Subject: [PATCH] Makefile.common: Fix GLFW build.

--- a/src/Makefile.common
+++ b/src/Makefile.common
@@ -77,8 +77,10 @@ CXXSRCS=\
 ifeq ($(UI),glv)
 	CSRCS+=$(GLV_SRC)
 else
+ifneq ($(UI),glfw)
 	CXXSRCS+=event_$(UI).cpp
 endif
+endif
 
 #ifeq ($(CONF),boron)
 	CSRCS+=module.c support/cdi.c