summaryrefslogtreecommitdiff
blob: 4f5760c162b3fe78177b943f6b1eaa519baad995 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- emms-3.0-orig/Makefile	2007-06-29 18:16:24.000000000 +0200
+++ emms-3.0/Makefile	2010-08-09 22:14:39.000000000 +0200
@@ -41,7 +41,7 @@
 	makeinfo --html --no-split $<
 
 emms-print-metadata: emms-print-metadata.c
-	$(CC) -o $@ $< -I/usr/include/taglib -L/usr/lib -ltag_c
+	$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< `taglib-config --libs --cflags` -ltag_c
 
 install:
 	test -d $(SITELISP) || mkdir -p $(SITELISP)