[Buildroot] [PATCH 03/10] libmad: install pkgconfig file

Peter Korsgaard jacmet at uclibc.org
Thu Jan 20 08:53:36 UTC 2011


>>>>> "Gustavo" == Gustavo Zacarias <gustavo at zacarias.com.ar> writes:

 Gustavo> new file mode 100644
 Gustavo> index 0000000..d1b4801
 Gustavo> --- /dev/null
 Gustavo> +++ b/package/multimedia/libmad/mad.pc
 Gustavo> @@ -0,0 +1,11 @@
 Gustavo> +prefix=/usr
 Gustavo> +exec_prefix=${prefix}
 Gustavo> +libdir=${exec_prefix}/lib
 Gustavo> +includedir=${prefix}/include
 Gustavo> +
 Gustavo> +Name: mad
 Gustavo> +Description: MPEG Audio Decoder
 Gustavo> +Requires:
 Gustavo> +Version: 0.15.1b
 Gustavo> +Libs: -L${libdir} -lmad -lm

Do we really need -lm? It's not in mad.pc on my Debian machine, and I
don't see any use of math.h in libmad.

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list