In a shared library build, the option -fvisibility=hidden may be set

when compiling making entry point Cosim_setup inaccessible.  The problem
was reported at https://github.com/iic-jku/IIC-OSIC-TOOLS/issues/287,
but not reproduced.
This commit is contained in:
Giles Atkinson
2026-07-08 22:46:42 +02:00
committed by Holger Vogt
parent 9230554e26
commit 2c2bc4f435
+3
View File
@@ -268,6 +268,9 @@ static void *run_vvp(void *arg)
/* Entry point to this shared library. Called by d_cosim. */
#if !defined(__MINGW32__) && !defined(_MSC_VER)
__attribute__((visibility("default")))
#endif
void Cosim_setup(struct co_info *pinfo)
{
char *file;