Tell linker to keep pybind11_init_xxx symbol
Pybind11-3.0 changed name of the pybind11_init_xxx
function. Fixing that.
Refactoring the volatile variable hack to explicit linker option not to strip the symbol.
Pybind11-3.0 changed name of the pybind11_init_xxx
function. Fixing that.
Refactoring the volatile variable hack to explicit linker option not to strip the symbol.