Skip to content

Commit 5507123

Browse files
committed
Use SDL2 config for linker
1 parent 82ee70f commit 5507123

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ INSTALL_MAN ?= $(INSTALL) -m 444
1212
INSTALL_DATA ?= $(INSTALL) -m 444
1313

1414

15-
SDL_CONFIG ?= sdl-config
15+
SDL_CONFIG ?= sdl2-config
1616
CFLAGS_SDL ?= $(shell $(SDL_CONFIG) --cflags)
1717
LDFLAGS_SDL ?= $(shell $(SDL_CONFIG) --libs)
1818

@@ -40,7 +40,7 @@ CCFLAGS += -Wsequence-point
4040
CXXFLAGS += $(CFLAGS)
4141

4242
LDFLAGS += $(LDFLAGS_SDL)
43-
LDFLAGS += -lSDL_mixer
43+
LDFLAGS += -lSDL2_mixer
4444
ifneq (,$(findstring MINGW,$(shell uname -s)))
4545
LDFLAGS += -static-libgcc
4646
endif

0 commit comments

Comments
 (0)