aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile6
1 files 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