]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commit
package/dvblast: fix static linking
authorYann E. MORIN <yann.morin.1998@free.fr>
Fri, 30 Oct 2015 15:43:41 +0000 (16:43 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 31 Oct 2015 14:59:53 +0000 (15:59 +0100)
commitbbb66c1044f73591f4d450b9b8a346027e1eabd3
treed1f65c9924bc9169263de49a33d6bffdcf011fe0
parentbdd72afa173ab97617f413a9ff01ac2b1dad7ba6
package/dvblast: fix static linking

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@free.fr>
Cc: Julian Scheel <julian@jusst.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/dvblast/0001-missing-lm.patch [new file with mode: 0644]