Can I statically link Cython modules into an executable which embeds python?
问题 I currently have an executable compiled from C++ that embeds python. The embedded executable runs a python script which load several Cython modules. Both the Cython modules and the executable are linked against a shared library. I want to move the shared library into the executable by statically linking the shared library against the executable. Can I statically link the Cython modules into the executable which embeds python? What is the best way to handle this situation? 回答1: Yes it's