From 1006db07a7e8ec28f47a91d314775d380c71025f Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Fri, 3 Jul 2015 23:21:18 +0200 Subject: it is sufficient to link against libavformat --- Makefile | 2 +- mpd-notification.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 4d3260e..a3aec1a 100644 --- a/Makefile +++ b/Makefile @@ -8,7 +8,7 @@ RM := rm CFLAGS += -std=c11 -O2 -Wall -Werror CFLAGS += $(shell pkg-config --cflags --libs libmpdclient) CFLAGS += $(shell pkg-config --cflags --libs libnotify) -LIBAV_CFLAGS := $(shell pkg-config --cflags --libs libavcodec libavformat 2>/dev/null) +LIBAV_CFLAGS := $(shell pkg-config --cflags --libs libavformat 2>/dev/null) ifneq ($(LIBAV_CFLAGS),) CFLAGS += -DHAVE_LIBAV $(LIBAV_CFLAGS) endif diff --git a/mpd-notification.h b/mpd-notification.h index 159aef1..1da743d 100644 --- a/mpd-notification.h +++ b/mpd-notification.h @@ -15,7 +15,6 @@ #include #ifdef HAVE_LIBAV -#include #include #endif -- cgit v1.2.3-70-g09d2