mk: fix eal shared library dependencies
Add DT_NEEDED entries for librte_eal external dependencies. Details between the platforms differ somewhat, and for static builds they need to be handled from mk/exec-env still. Signed-off-by: Panu Matilainen <pmatilai@redhat.com>
This commit is contained in:
parent
0d822b8047
commit
4758404a30
@ -44,6 +44,10 @@ CFLAGS += -I$(RTE_SDK)/lib/librte_ring
|
||||
CFLAGS += -I$(RTE_SDK)/lib/librte_mempool
|
||||
CFLAGS += $(WERROR_FLAGS) -O3
|
||||
|
||||
LDLIBS += -lexecinfo
|
||||
LDLIBS += -lpthread
|
||||
LDLIBS += -lgcc_s
|
||||
|
||||
EXPORT_MAP := rte_eal_version.map
|
||||
|
||||
LIBABIVER := 2
|
||||
|
@ -49,6 +49,10 @@ CFLAGS += -I$(RTE_SDK)/lib/librte_mempool
|
||||
CFLAGS += -I$(RTE_SDK)/lib/librte_ivshmem
|
||||
CFLAGS += $(WERROR_FLAGS) -O3
|
||||
|
||||
LDLIBS += -ldl
|
||||
LDLIBS += -lpthread
|
||||
LDLIBS += -lgcc_s
|
||||
|
||||
# specific to linuxapp exec-env
|
||||
SRCS-$(CONFIG_RTE_EXEC_ENV_LINUXAPP) := eal.c
|
||||
SRCS-$(CONFIG_RTE_EXEC_ENV_LINUXAPP) += eal_hugepage_info.c
|
||||
|
Loading…
x
Reference in New Issue
Block a user