Fixing a CMake dependency issue for the pcap bifs.

ninja said:

    ninja: warning: multiple rules generate
    scripts/base/bif/const.bif.bro. builds involving this target will
    not be correct; continuing anyway [-w dupbuild=warn]

Looks like there's a larger problem here involving *.bif of the same
name at different locations of the source tree. For now, I'ved fixed
this one by merging src/iosource/pcap/{const,functions}.bif into
pcap.bif.
This commit is contained in:
Robin Sommer 2016-08-01 08:59:51 -07:00
parent 19d66be0aa
commit 420bef58aa
11 changed files with 29 additions and 27 deletions

View file

@ -7,7 +7,7 @@
#include "Source.h"
#include "iosource/Packet.h"
#include "const.bif.h"
#include "pcap.bif.h"
#ifdef HAVE_PCAP_INT_H
#include <pcap-int.h>