git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
port: add pcap file source
[dpdk.git]
/
lib
/
librte_port
/
Makefile
diff --git
a/lib/librte_port/Makefile
b/lib/librte_port/Makefile
index
410053e
..
0b31c04
100644
(file)
--- a/
lib/librte_port/Makefile
+++ b/
lib/librte_port/Makefile
@@
-1,6
+1,6
@@
# BSD LICENSE
#
# BSD LICENSE
#
-# Copyright(c) 2010-201
4
Intel Corporation. All rights reserved.
+# Copyright(c) 2010-201
6
Intel Corporation. All rights reserved.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
@@
-36,6
+36,14
@@
include $(RTE_SDK)/mk/rte.vars.mk
#
LIB = librte_port.a
#
LIB = librte_port.a
+ifeq ($(CONFIG_RTE_NEXT_ABI),y)
+
+ifeq ($(CONFIG_RTE_PORT_PCAP),y)
+LDLIBS += -lpcap
+endif
+
+endif
+
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS)
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS)