Diff

Differences From Artifact [3e755fbbad]:

To Artifact [228047bb61]:


2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21

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







|
<











2
3
4
5
6
7
8
9

10
11
12
13
14
15
16
17
18
19
20

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