forked from Kagami/mpv.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
binding.gyp
30 lines (30 loc) · 1.02 KB
/
binding.gyp
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
{
"targets": [
{
"target_name": "mpv",
"win_delay_load_hook": "false",
"sources": ["index.cc"],
"include_dirs": ["libraries/include"],
"conditions": [
["OS=='win'", {
"libraries": ["-llibmpv.dll.a", "-lppapi_cpp", "-lppapi_gles2"],
"library_dirs": [
"libraries/win/host",
"libraries/win/mpv",
],
}, "OS=='linux'", {
"libraries": ["-lmpv"],
"library_dirs": ["libraries/linux/host"],
"ldflags": ["-static-libstdc++"],
}, "OS=='mac'", {
"libraries": ["-lmpv"],
"library_dirs": [
"libraries/mac/host",
"libraries/mac/mpv",
],
"xcode_settings": {"MACOSX_DEPLOYMENT_TARGET": "10.9"},
}],
],
},
],
}