Skip to content

Commit

Permalink
build: drop SDL1 support
Browse files Browse the repository at this point in the history
SDL1 is unmaintained upstream and using it only leads to a degraded
experience. Especially when it recives far less testing.
  • Loading branch information
orbea committed Oct 21, 2024
1 parent 312a5be commit 966a5df
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions projects/unix/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -353,17 +353,7 @@ endif
ifeq ($(origin SDL_CFLAGS) $(origin SDL_LDLIBS), undefined undefined)
SDL_CONFIG = $(CROSS_COMPILE)sdl2-config
ifeq ($(shell which $(SDL_CONFIG) 2>/dev/null),)
SDL_CONFIG = $(CROSS_COMPILE)sdl-config
ifeq ($(shell which $(SDL_CONFIG) 2>/dev/null),)
$(error No SDL development libraries found!)
else
ifeq ($(NETPLAY), 1)
SDL_LDLIBS += -lSDL_net
endif
# SDL1 doesn't support vulkan
VULKAN = 0
$(warning Using SDL 1.2 libraries)
endif
$(error No SDL development libraries found!)
else
ifeq ($(NETPLAY), 1)
SDL_LDLIBS += -lSDL2_net
Expand Down

0 comments on commit 966a5df

Please sign in to comment.