summaryrefslogtreecommitdiff
blob: 61b520f5aa73ace55711bc6e0c9a6bbe14f86103 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- a/Makefile
+++ b/Makefile
@@ -52,10 +52,10 @@
 doc: mp3info.txt
 
 mp3info: $(OBJS)
-	$(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS)
+	$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJS) $(LIBS)
 
 gmp3info: $(XSRC) $(XOBJ) 
-	$(CC) $(XSRC) $(CFLAGS) -o $@ $(XOBJ) `pkg-config --cflags --libs gtk+-2.0`
+	$(CC) $(XSRC) $(CFLAGS) $(LDFLAGS) -o $@ $(XOBJ) `${PKG_CONFIG} --cflags --libs gtk+-2.0`
 
 mp3info.txt: mp3info.1
 	groff -t -e -mandoc -Tascii mp3info.1 | col -bx > mp3info.txt