kevva / bin-wrapper

Binary wrapper that makes your programs seamlessly available as local dependencies
MIT License
152 stars 66 forks source link

Add support of choosing binary based on standard lib c library. #61

Open grushikhin opened 6 years ago

grushikhin commented 6 years ago

There are few standard lib c libraries, musl and glibc. BInary files builded on one linux system e.g. ubuntu doesn't compatible with another system, e.g. Alpine Linux. I would like to have opportunity to choose binary file based on standard lib c library. It will be very useful for Linux systems.

What do you think about this feature?

grushikhin commented 6 years ago

There is the npm module for checking libc https://github.com/lovell/detect-libc. There is an open issue on npm for adding libc parameter to the process object https://github.com/nodejs/node/pull/17993.