Skip to content

Commit df09801

Browse files
author
bluenet13
committed
support dpdk-16.07
1 parent 14923aa commit df09801

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

examples/http_server/Makefile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,8 @@ CFLAGS += -O3 \
4949
-I$(RTE_ANS)/librte_anssock/include
5050

5151
LDLIBS += $(RTE_ANS)/librte_anssock/librte_anssock.a \
52-
$(RTE_SDK)/$(RTE_TARGET)/lib/librte_mbuf.a \
53-
$(RTE_SDK)/$(RTE_TARGET)/lib/librte_eal.a \
54-
$(RTE_SDK)/$(RTE_TARGET)/lib/librte_mempool.a \
55-
$(RTE_SDK)/$(RTE_TARGET)/lib/librte_ring.a \
52+
-L$(RTE_SDK)/$(RTE_TARGET)/lib \
53+
-Wl,--whole-archive -Wl,-lrte_mbuf -Wl,-lrte_mempool -Wl,-lrte_ring -Wl,-lrte_eal -Wl,--no-whole-archive -Wl,-export-dynamic \
5654
-lrt -pthread -ldl
5755

5856
OBJS = http_server.o

librte_ans/librte_ans.a

-79.8 KB
Binary file not shown.

librte_anssock/librte_anssock.a

-9.37 KB
Binary file not shown.

0 commit comments

Comments
 (0)