net/ark: fix build on FreeBSD
On FreeBSD it's not necessary to use -ldl to link apps which use dlopen. This error only showed up with a shared library gcc build, not standard build using static libs. Fixes: 1131cbf0fb2b ("net/ark: stub PMD for Atomic Rules Arkville") Signed-off-by: Bruce Richardson <bruce.richardson@intel.com> Acked-by: John Miller <john.miller@atomicrules.com>
This commit is contained in:
parent
a11595045e
commit
7e015a4794
@ -59,6 +59,8 @@ SRCS-$(CONFIG_RTE_LIBRTE_ARK_PMD) += ark_udm.c
|
||||
|
||||
# this lib depends upon:
|
||||
LDLIBS += -lpthread
|
||||
ifdef CONFIG_RTE_EXEC_ENV_LINUXAPP
|
||||
LDLIBS += -ldl
|
||||
endif
|
||||
|
||||
include $(RTE_SDK)/mk/rte.lib.mk
|
||||
|
Loading…
x
Reference in New Issue
Block a user