mkmf.rb: Define missing POSTLINK variable in generated Makefile
The POSTLINK variable had been used in the LINK_SO variable, which
is used to link shared extension libraries. However, the POSTLINK
variable had not been defined in the generated Makefile, so extension
libraries were not properly post-processed. It was not a critical issue
for the existing POSTLINK usage for darwin platforms, but it would be
a problem for Wasm/WASI platform, which requires mandatory
post-processing for shared extension libraries.
mkmf.rb: Define missing
POSTLINK
variable in generated MakefileThe
POSTLINK
variable had been used in theLINK_SO
variable, whichis used to link shared extension libraries. However, the
POSTLINK
variable had not been defined in the generated Makefile, so extension
libraries were not properly post-processed. It was not a critical issue
for the existing
POSTLINK
usage for darwin platforms, but it would bea problem for Wasm/WASI platform, which requires mandatory
post-processing for shared extension libraries.