Commits

ecsv committed 8ed3dce

Fix call to sdl-config on *BSD

Comments (0)

Files changed (1)

projects/unix/Makefile

   $(error No SDL development libraries found!)
 endif
 ifeq ($(OS),FREEBSD)
-    CFLAGS  += `${SDL_CONFIG} --cflags`
-    LDFLAGS += `${SDL_CONFIG} --libs`
+    CFLAGS  += $(shell sdl-config --cflags)
+    LDFLAGS += $(shell sdl-config --libs)
 endif
 ifeq ($(OS),OSX)
     CFLAGS  += $(shell sdl-config --cflags)