X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=lib%2Flibrte_port%2FMakefile;h=0b31c0429dbff178c10c06e5d1f44b0f30d1b8d8;hb=d4b42133d85b5da3576773f2196a4a0aa49f459c;hp=410053ea98922683f9b6cad24086db5482db27ab;hpb=765ecf2521cbbd1d89390d869259fa6144a8c8a6;p=dpdk.git diff --git a/lib/librte_port/Makefile b/lib/librte_port/Makefile index 410053ea98..0b31c0429d 100644 --- a/lib/librte_port/Makefile +++ b/lib/librte_port/Makefile @@ -1,6 +1,6 @@ # BSD LICENSE # -# Copyright(c) 2010-2014 Intel Corporation. All rights reserved. +# Copyright(c) 2010-2016 Intel Corporation. All rights reserved. # 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 +ifeq ($(CONFIG_RTE_NEXT_ABI),y) + +ifeq ($(CONFIG_RTE_PORT_PCAP),y) +LDLIBS += -lpcap +endif + +endif + CFLAGS += -O3 CFLAGS += $(WERROR_FLAGS)