pcap-config at [b69c1be66d]

File pcap-config artifact 3e755fbbad part of check-in b69c1be66d


#! /bin/bash

opt="$1"

ourdir="$(dirname "$(readlink -f "$(which "$0")")")"

case "$opt" in
	--cflags)
		echo "-Iwin32/Include -I${ourdir}/Include"

		;;
	--libs)
		echo "-L${ourdir}/Lib -lwpcap -lws2_32"
		;;
	*)
		echo "Unknown option: $opt" >&2
		exit 1
		;;
esac

exit 0