test: fix dependency on pcapng
The unit test code should depend on the pcapng library.
Fixes: 7a944656b3
("test/pcapng: test pcapng library")
Signed-off-by: David Marchand <david.marchand@redhat.com>
This commit is contained in:
parent
d6024c0a67
commit
6f01a3ca5c
@ -413,7 +413,10 @@ endif
|
||||
|
||||
if dpdk_conf.has('RTE_HAS_LIBPCAP')
|
||||
ext_deps += pcap_dep
|
||||
test_sources += 'test_pcapng.c'
|
||||
if dpdk_conf.has('RTE_LIB_PCAPNG')
|
||||
test_deps += 'pcapng'
|
||||
test_sources += 'test_pcapng.c'
|
||||
endif
|
||||
endif
|
||||
|
||||
if dpdk_conf.has('RTE_LIB_POWER')
|
||||
|
Loading…
Reference in New Issue
Block a user