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
67fbaa9e6a
commit
d56e3abd0e
|
|
@ -268,6 +268,9 @@ static void *run_vvp(void *arg)
|
||||||
|
|
||||||
/* Entry point to this shared library. Called by d_cosim. */
|
/* 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)
|
void Cosim_setup(struct co_info *pinfo)
|
||||||
{
|
{
|
||||||
char *file;
|
char *file;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue