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:
parent
9230554e26
commit
2c2bc4f435
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue