aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2016-10-07 09:54:54 +0200
committerGravatar Christian Hesse <mail@eworm.de>2016-10-07 09:54:54 +0200
commit91fd7b03788b29ae8cd7d09277d2f7ca32aba26c (patch)
tree38a53a9f472402dcb0f2898367520b20985d62c7 /Makefile
parentb3a0f6f65c9828314e60929dee16c0aa1de06158 (diff)
downloadmpd-notification-91fd7b03788b29ae8cd7d09277d2f7ca32aba26c.tar.gz
mpd-notification-91fd7b03788b29ae8cd7d09277d2f7ca32aba26c.tar.zst
use libmagic to decide whether to search for media artwork
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index f597bf0..98fbd93 100644
--- a/Makefile
+++ b/Makefile
@@ -15,6 +15,7 @@ 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 += -lmagic
endif
LDFLAGS += -Wl,-z,now -Wl,-z,relro -pie