'Multi-platform bindings.gyp for node-gyp addon compilation
I have a node addon that I am compiling with node-gyp, it depends on libgfortran, that I install differently in different operating systems.
In alpine
apk add libgfortran
Will create /usr/lib/libgfortran.so.5
In ubuntu
apt-get install gfortran
Will create /usr/lib/x86_64-linux-gnu/libgfortran.so.5.0.0
How can I specify the libraries in a way that it will work in either ubuntu or alpine.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
