From 34c29745ccd3eeea0547d73955338a1445c50248 Mon Sep 17 00:00:00 2001 From: Ansa89 Date: Wed, 5 Oct 2016 09:09:22 +0200 Subject: [PATCH] Makefile: use correct variable name when checking video libs --- cfg/checks/video.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cfg/checks/video.mk b/cfg/checks/video.mk index 2962538..cfef619 100644 --- a/cfg/checks/video.mk +++ b/cfg/checks/video.mk @@ -8,13 +8,13 @@ else endif # Check if we can build video support -CHECK_VIDEO_LIBS = $(shell $(PKG-CONFIG) --exists $(VIDEO_LIBS) || echo -n "error") +CHECK_VIDEO_LIBS = $(shell $(PKG_CONFIG) --exists $(VIDEO_LIBS) || echo -n "error") ifneq ($(CHECK_VIDEO_LIBS), error) LIBS += $(VIDEO_LIBS) CFLAGS += $(VIDEO_CFLAGS) OBJ += $(VIDEO_OBJ) else ifneq ($(MAKECMDGOALS), clean) - MISSING_VIDEO_LIBS = $(shell for lib in $(VIDEO_LIBS) ; do if ! $(PKG-CONFIG) --exists $$lib ; then echo $$lib ; fi ; done) + MISSING_VIDEO_LIBS = $(shell for lib in $(VIDEO_LIBS) ; do if ! $(PKG_CONFIG) --exists $$lib ; then echo $$lib ; fi ; done) $(warning WARNING -- Toxic will be compiled without video support) $(warning WARNING -- You will need these libraries for video support) $(warning WARNING -- $(MISSING_VIDEO_LIBS))