summaryrefslogtreecommitdiff
path: root/mk/exec-env
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2016-03-10 15:15:59 +0200
committerThomas Monjalon <thomas.monjalon@6wind.com>2016-03-13 20:27:07 +0100
commite86a699cf6b1010e74c98284422b79e5e59322f0 (patch)
tree306a8ec1d4b8fc612522cb3b2dc8926b0bfe8795 /mk/exec-env
parent5a8fb55c48abff5c761ce2583caf34c352eb2dfe (diff)
downloaddpdk-e86a699cf6b1010e74c98284422b79e5e59322f0.zip
dpdk-e86a699cf6b1010e74c98284422b79e5e59322f0.tar.gz
dpdk-e86a699cf6b1010e74c98284422b79e5e59322f0.tar.xz
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>
Diffstat (limited to 'mk/exec-env')
-rw-r--r--mk/exec-env/linuxapp/rte.vars.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/mk/exec-env/linuxapp/rte.vars.mk b/mk/exec-env/linuxapp/rte.vars.mk
index 5fd7d85..d51bd17 100644
--- a/mk/exec-env/linuxapp/rte.vars.mk
+++ b/mk/exec-env/linuxapp/rte.vars.mk
@@ -48,7 +48,7 @@ endif
# Workaround lack of DT_NEEDED entry
EXECENV_LDFLAGS = --no-as-needed
-EXECENV_LDLIBS = -lrt -lm
+EXECENV_LDLIBS =
EXECENV_ASFLAGS =
ifeq ($(CONFIG_RTE_BUILD_SHARED_LIB),y)