Project

General

Profile

« Previous | Next » 

Revision 57f014b2

Added by katei (Yuta Saito) over 1 year ago

Use configured LD for linking enc and ext libraries

"AR" was well propagated to the enc.mk and mkmf, but "LD" was not. This
caused the dynamic libraries to be linked with a linker found in the PATH,
which could be different from the one used in the Ruby build process.
This is especially important for cross-compilation, where the host
linker may not be compatible with the target system. (e.g. WebAssembly)