mk: fix shared library dependencies on libm and librt
authorPanu Matilainen <pmatilai@redhat.com>
Thu, 10 Mar 2016 13:15:59 +0000 (15:15 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Sun, 13 Mar 2016 19:27:07 +0000 (20:27 +0100)
commite86a699cf6b1010e74c98284422b79e5e59322f0
tree306a8ec1d4b8fc612522cb3b2dc8926b0bfe8795
parent5a8fb55c48abff5c761ce2583caf34c352eb2dfe
mk: fix shared library dependencies on libm and librt

There are two places that need -lm (test app and librte_sched) and
exactly one that needs -lrt (librte_sched). Add the relevant
DT_NEEDED entries to both, and eliminate the bogus discrepancy
between Linux and BSD EXECENV_LDLIBS wrt these libs.

Signed-off-by: Panu Matilainen <pmatilai@redhat.com>
app/test/Makefile
lib/librte_sched/Makefile
mk/exec-env/linuxapp/rte.vars.mk
mk/rte.app.mk