Skip to content

Commit

Permalink
fix sdl pkg-config detection
Browse files Browse the repository at this point in the history
  • Loading branch information
vpinon authored and ddennedy committed Mar 28, 2017
1 parent 541b083 commit b8d47c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/melt/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ SRCS := $(OBJS:.o=.c)

ifeq ($(targetos), MinGW)
ifeq (, $(findstring MELT_NOSDL, $(CFLAGS)))
ifeq (, $(shell pkg-config --exists sdl))
ifeq (, $(shell pkg-config --exists sdl && echo yes))
CFLAGS += $(shell sdl-config --cflags)
LDFLAGS += $(shell sdl-config --libs)
else
Expand Down

0 comments on commit b8d47c9

Please sign in to comment.