[Buildroot] [PATCH 2/4] package/dvblast: fix static linking

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sat Oct 31 17:24:21 UTC 2015


Dear Yann E. MORIN,

On Fri, 30 Oct 2015 16:43:41 +0100, Yann E. MORIN wrote:
> dvblast links to -lev, which calls functions from -lm, like floor().
> 
> dvblast does not use libtool, so it does not pull in the libev
> dependencies when doing a static link.
> 
> Fix that by always pulling in -lm after -lev. We can not do it from the
> .mk, because libraries passed from the .mk end up at the beginning of
> the list.
> 
> Fixes:
>     http://autobuild.buildroot.org/results/1f0/1f02f84fb926839a1adbe3af457bb909fdc44433/
>     http://autobuild.buildroot.org/results/6af/6af3abcdced1cc689a59fe11483f5cdcae0cfd38/
>     ...
> 
> Signed-off-by: "Yann E. MORIN" <yann.morin.1998 at free.fr>
> Cc: Julian Scheel <julian at jusst.de>
> ---
>  package/dvblast/0001-missing-lm.patch | 29 +++++++++++++++++++++++++++++
>  1 file changed, 29 insertions(+)
>  create mode 100644 package/dvblast/0001-missing-lm.patch

Applied, thanks. Please submit the patch upstream.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com


More information about the buildroot mailing list