summaryrefslogtreecommitdiff
path: root/user/trigger-rally/sdl2-compat.patch
blob: ae3f7c609f6d80bf34c170a58971187ebbea7eb6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- trigger-rally-0.6.6.1/src/GNUmakefile.old	2020-01-12 09:46:17.392027213 +0000
+++ trigger-rally-0.6.6.1/src/GNUmakefile	2020-01-12 09:56:43.744640443 +0000
@@ -26,7 +26,7 @@
 INCDIRS         := -I'./include'
 CXXFLAGS        += -std=c++11 $(WARNINGS) $(OPTIMS)
 CPPFLAGS        += $(DMACROS) $(INCDIRS)
-EXTRA_LIBS      := -lSDL2main -lGL -lGLU -lGLEW -lSDL2 -lSDL2_image -lphysfs -lopenal -lalut -lpthread -ltinyxml2
+EXTRA_LIBS      := -lSDL2main -lGL -lGLU -lGLEW -lSDL2-2.0 -lSDL2_image -lphysfs -lopenal -lalut -lpthread -ltinyxml2
 LDFLAGS         += $(EXTRA_LIBS)
 INSTALL_PROGRAM := install --mode=0755
 INSTALL_DATA    := install --mode=0644