Streampunk / beamcoder

Node.js native bindings to FFmpeg.
GNU General Public License v3.0
397 stars 76 forks source link

Add include dirs on linux #21

Open KevinBarbier2 opened 5 years ago

KevinBarbier2 commented 5 years ago

Fixes source header files not found on linux

In file included from ../src/beamcoder.cc:23: ../src/beamcoder_util.h:33:12: fatal error: libavutil/error.h: No such file or directory

tommyZZM commented 4 years ago

this pull request should add a specific condition os=="linux" for linux only.

since macOS needs quite different include_dirs and library_dirs.

ref: #39 Add include_dirs and library_dirs for 'OS=="mac" to the binding.gyp