Commit 27ac8362 authored by Will Thompson's avatar Will Thompson

Merge branch 'pcap-config-variable' into 'master'

Makefile: allow passing a custom path to pcap-config

See merge request !15
parents 89a488ae 7e2daf29
Pipeline #95204 passed with stages
in 26 minutes and 8 seconds
CFLAGS = -g -O2 -Wall -Wunused -Waddress
DBUS_FLAGS = $(shell pkg-config --cflags --libs dbus-1)
GIO_FLAGS := $(shell pkg-config --cflags --libs 'glib-2.0 >= 2.26' gio-2.0 gio-unix-2.0)
PCAP_FLAGS := $(shell pcap-config --cflags pcap-config --libs)
PCAP_CONFIG ?= pcap-config
PCAP_FLAGS := $(shell $(PCAP_CONFIG) --cflags pcap-config --libs)
DESTDIR =
PREFIX = /usr/local
BINDIR = $(DESTDIR)$(PREFIX)/bin
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment