From d5d5a4424fb0682ccf4ba4d0463755470dde6224 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Thu, 5 Jan 2017 16:25:20 +0100 Subject: rename variable for libav cflags --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 8d8905a..a557919 100644 --- a/Makefile +++ b/Makefile @@ -13,9 +13,9 @@ CFLAGS += -liniparser CFLAGS += $(shell pkg-config --cflags --libs libsystemd) CFLAGS += $(shell pkg-config --cflags --libs libmpdclient) CFLAGS += $(shell pkg-config --cflags --libs libnotify) -LIBAV_CFLAGS := $(shell pkg-config --cflags --libs libavformat libavutil 2>/dev/null) -ifneq ($(LIBAV_CFLAGS),) -CFLAGS += -DHAVE_LIBAV $(LIBAV_CFLAGS) +CFLAGS_LIBAV := $(shell pkg-config --cflags --libs libavformat libavutil 2>/dev/null) +ifneq ($(CFLAGS_LIBAV),) +CFLAGS += -DHAVE_LIBAV $(CFLAGS_LIBAV) CFLAGS += -lmagic endif LDFLAGS += -Wl,-z,now -Wl,-z,relro -pie -- cgit v1.2.3-70-g09d2