Artifact 228047bb61ecd4c2b06ff28877cfebd26b50e14c:
- Executable file pcap-config — part of check-in [def5a6d71c] at 2014-02-20 19:11:31 on branch using-redhat-srpm — Updated to compile successfully (user: rkeene, size: 284) [annotate] [blame] [check-ins using]
#! /bin/bash
opt="$1"
ourdir="$(dirname "$(readlink -f "$(which "$0")")")"
case "$opt" in
--cflags)
echo "-Iwin32/Include -I${ourdir}/Include -DNBBY=8"
;;
--libs)
echo "-L${ourdir}/Lib -lwpcap -lws2_32"
;;
*)
echo "Unknown option: $opt" >&2
exit 1
;;
esac
exit 0