diff options
author | Christian Hesse <mail@eworm.de> | 2017-01-05 16:25:20 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2017-01-05 16:25:20 +0100 |
commit | d5d5a4424fb0682ccf4ba4d0463755470dde6224 (patch) | |
tree | b4b86cdbb18781ba855e8a75acce1f7c595d41e7 /Makefile | |
parent | d091600b1579634b496ae0cc6cbab528e589b225 (diff) | |
download | mpd-notification-d5d5a4424fb0682ccf4ba4d0463755470dde6224.tar.gz mpd-notification-d5d5a4424fb0682ccf4ba4d0463755470dde6224.tar.zst |
rename variable for libav cflags
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |