79341937

Date: 2025-01-09 08:51:49
Score: 1.5
Natty:
Report link

The final executable can be linked to the dynamic library by passing this -rpath=/your_absolute_path_to_dynamic_lib flag to the -linker-option flag in the kotlinc-native compiler. The compile time linking should be done using the .def files or can be done manually, by passing flags to cinterop. The executable wont be linked if its NOT linked during compile time.

Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Radon