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.
1 parent aee5ff9 commit fb69649Copy full SHA for fb69649
binding.gyp
@@ -20,7 +20,9 @@
20
"cflags_cc": [
21
"-std=c++11",
22
"-fexceptions"
23
- ],
+ ]
24
+ }],
25
+ ['OS!="win" and OS!="linux"', {
26
"link_settings": {
27
"libraries": [
28
"-lavcodec",
@@ -73,6 +75,18 @@
73
75
}
74
76
]
77
}],
78
+ ['OS=="linux"', {
79
+ "libraries": [
80
+ "<!(pkg-config --libs libavcodec)",
81
+ "<!(pkg-config --libs libavdevice)",
82
+ "<!(pkg-config --libs libavfilter)",
83
+ "<!(pkg-config --libs libavformat)",
84
+ "<!(pkg-config --libs libavutil)",
85
+ "<!(pkg-config --libs libpostproc)",
86
+ "<!(pkg-config --libs libswresample)",
87
+ "<!(pkg-config --libs libswscale)"
88
89
90
['OS=="mac"', {
91
"include_dirs" : [
92
"/opt/homebrew/Cellar/ffmpeg/5.0/include"
0 commit comments