From 989fd95fe5f38cb08997bf8b3c94660e4ff77f7d Mon Sep 17 00:00:00 2001 From: Dave Murphy Date: Wed, 2 Jan 2019 00:32:53 +0000 Subject: [PATCH] sdl2-config is in path --- graphics/sdl2/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/graphics/sdl2/Makefile b/graphics/sdl2/Makefile index 1db79a8..cd80fbc 100644 --- a/graphics/sdl2/Makefile +++ b/graphics/sdl2/Makefile @@ -46,14 +46,14 @@ ARCH := -march=armv8-a -mtune=cortex-a57 -mtp=soft -fPIE CFLAGS := -g -Wall -O2 -ffunction-sections \ $(ARCH) $(DEFINES) -CFLAGS += $(INCLUDE) `$(DEVKITPRO)/portlibs/switch/bin/sdl2-config --cflags` +CFLAGS += $(INCLUDE) `sdl2-config --cflags` CXXFLAGS := $(CFLAGS) -fno-rtti -fno-exceptions ASFLAGS := -g $(ARCH) LDFLAGS = -specs=$(DEVKITPRO)/libnx/switch.specs -g $(ARCH) -Wl,-Map,$(notdir $*.map) -LIBS := `$(DEVKITPRO)/portlibs/switch/bin/sdl2-config --libs` +LIBS := `sdl2-config --libs` #--------------------------------------------------------------------------------- # list of directories containing libraries, this must be the top level containing