--- Begin Message ---
Hi,
the team maintaining the Emacs packages in Gentoo Linux got a bug
report [1] about emms not respecting the user-set LDFLAGS when
compiling. As a source-based distribution this is essential to us, so
we fixed the issue in the Makefile and want to share that patch with
you (see attachment).
V-Li
[1] http://bugs.gentoo.org/show_bug.cgi?id=331883
--
Christian Faulhammer, Gentoo Lisp project
<URL:http://www.gentoo.org/proj/en/lisp/>, #gentoo-lisp on FreeNode
<URL:http://gentoo.faulhammer.org/>
--- 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)
signature.asc
Description: PGP signature
--- End Message ---
--
Lucas Bonnet
_______________________________________________
Emms-patches mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emms-patches