From 5dbcf9dda655a3fa07c265aa1ff4e96af83902dd Mon Sep 17 00:00:00 2001 From: William McBrine Date: Sun, 17 Dec 2017 14:14:27 -0500 Subject: [PATCH] pkg-config doesn't work for me; sdl2-config does. Should look further into. --- sdl2/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sdl2/Makefile b/sdl2/Makefile index 114a1bca..728a1153 100644 --- a/sdl2/Makefile +++ b/sdl2/Makefile @@ -12,8 +12,8 @@ osdir = $(PDCURSES_SRCDIR)/sdl2 PDCURSES_SDL_H = $(osdir)/pdcsdl.h -SFLAGS = $(shell pkg-config --cflags sdl2) -SLIBS = $(shell pkg-config --libs sdl2) +SFLAGS = $(shell sdl2-config --cflags) +SLIBS = $(shell sdl2-config --libs) # If your system doesn't have these, remove the defines here SFLAGS += -DHAVE_VSNPRINTF -DHAVE_VSSCANF @@ -25,8 +25,8 @@ else endif ifeq ($(WIDE),Y) - CFLAGS += -DPDC_WIDE $(shell pkg-config --cflags SDL2_ttf) - SLIBS += $(shell pkg-config --libs SDL2_ttf) + CFLAGS += -DPDC_WIDE + SLIBS += -lSDL2_ttf endif ifeq ($(UTF8),Y)