summaryrefslogtreecommitdiff
path: root/binding.gyp
blob: 32867c405451ac650a3a5713e3d207884427d6ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{
	"targets": [
		{
			"target_name": "pikul",
			"sources": [
				"pikul.c",
				"anteraja.c",
				"pikul_wrap.cxx"
			],
			"conditions": [
				['OS=="freebsd"', {
					"include_dirs": [
						"/usr/local/include",
						"/usr/local/include/json-c"
					]
				}
				],
				['OS=="linux"', {
					"include_dirs": [
						"/usr/include",
						"/usr/include/json-c"
					]
				}
				]
			],
			"ldflags": [
				"-L/usr/local/lib",
				"-lcurl",
				"-ljson-c"
			]
		}
	]
}
# vim: filetype=json