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-06-26 17:01:14 +01:00 committed by Holger Vogt
parent 9230554e26
commit 2c2bc4f435
1 changed files with 3 additions and 0 deletions

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;