We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d5f006c + fb69649 commit 87a6722Copy full SHA for 87a6722
binding.gyp
@@ -21,7 +21,9 @@
21
"cflags_cc": [
22
"-std=c++11",
23
"-fexceptions"
24
- ],
+ ]
25
+ }],
26
+ ['OS!="win" and OS!="linux"', {
27
"link_settings": {
28
"libraries": [
29
"-lavcodec",
@@ -74,6 +76,18 @@
74
76
}
75
77
]
78
}],
79
+ ['OS=="linux"', {
80
+ "libraries": [
81
+ "<!(pkg-config --libs libavcodec)",
82
+ "<!(pkg-config --libs libavdevice)",
83
+ "<!(pkg-config --libs libavfilter)",
84
+ "<!(pkg-config --libs libavformat)",
85
+ "<!(pkg-config --libs libavutil)",
86
+ "<!(pkg-config --libs libpostproc)",
87
+ "<!(pkg-config --libs libswresample)",
88
+ "<!(pkg-config --libs libswscale)"
89
90
91
['OS=="mac"', {
92
"include_dirs" : [
93
"/opt/homebrew/Cellar/ffmpeg/5.0/include"
0 commit comments