X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;ds=sidebyside;f=lib%2Flibrte_port%2FMakefile;h=2c0ccbe529bd454168392b47fd10ffd4ebfe2587;hb=03600dd583af60c1cb454ee5e8e9f2118269545d;hp=ddbb38388e03f69fb0849600fe6fdaf097b70c66;hpb=2f9d47013e4dbb7381914e6e2e2470f69225cafc;p=dpdk.git diff --git a/lib/librte_port/Makefile b/lib/librte_port/Makefile index ddbb38388e..2c0ccbe529 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 @@ -35,13 +35,16 @@ include $(RTE_SDK)/mk/rte.vars.mk # library name # LIB = librte_port.a +ifeq ($(CONFIG_RTE_PORT_PCAP),y) +LDLIBS += -lpcap +endif CFLAGS += -O3 CFLAGS += $(WERROR_FLAGS) EXPORT_MAP := rte_port_version.map -LIBABIVER := 1 +LIBABIVER := 2 # # all source are stored in SRCS-y