diff options
author | Matias Elo <matias.elo@nokia.com> | 2019-01-08 09:25:16 +0200 |
---|---|---|
committer | Matias Elo <matias.elo@nokia.com> | 2019-01-08 14:08:53 +0200 |
commit | f213bfee50534750ec843d2b0b8c9752b78145b2 (patch) | |
tree | 0fbebf69c9f58f1f808d7c280e84f98d7a1e9260 | |
parent | 94324b4934c18002d282e453e52bd486210e5385 (diff) |
linux-dpdk: add missing link to libm
Signed-off-by: Matias Elo <matias.elo@nokia.com>
-rw-r--r-- | m4/odp_dpdk.m4 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/m4/odp_dpdk.m4 b/m4/odp_dpdk.m4 index 1edd31e60..5009247e2 100644 --- a/m4/odp_dpdk.m4 +++ b/m4/odp_dpdk.m4 @@ -106,11 +106,11 @@ AC_CHECK_HEADERS([rte_config.h], [], [dpdk_check_ok=no]) DPDK_LIBS="" -_ODP_DPDK_CHECK_LIB([$2]) +_ODP_DPDK_CHECK_LIB([$2], [-lm]) AS_IF([test "x$DPDK_LIBS" = "x"], - [_ODP_DPDK_CHECK_LIB([$2], [-ldl -lpthread])]) + [_ODP_DPDK_CHECK_LIB([$2], [-lm -ldl -lpthread])]) AS_IF([test "x$DPDK_LIBS" = "x"], - [_ODP_DPDK_CHECK_LIB([$2], [-ldl -lpthread -lnuma])]) + [_ODP_DPDK_CHECK_LIB([$2], [-lm -ldl -lpthread -lnuma])]) AS_IF([test "x$DPDK_LIBS" = "x"], [dpdk_check_ok=no]) AS_IF([test "x$dpdk_check_ok" != "xno"], |