summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2017-01-05 16:25:20 +0100
committerGravatar Christian Hesse <mail@eworm.de>2017-01-05 16:25:20 +0100
commitd5d5a4424fb0682ccf4ba4d0463755470dde6224 (patch)
treeb4b86cdbb18781ba855e8a75acce1f7c595d41e7 /Makefile
parentd091600b1579634b496ae0cc6cbab528e589b225 (diff)
downloadmpd-notification-d5d5a4424fb0682ccf4ba4d0463755470dde6224.tar.gz
mpd-notification-d5d5a4424fb0682ccf4ba4d0463755470dde6224.tar.zst
rename variable for libav cflags
Diffstat (limited to 'Makefile')
-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