FS-5999: set visibility on lua symbols that are supposed to be exported
This commit is contained in:
parent
b65d2a9a78
commit
1f2b632aee
|
@ -150,7 +150,12 @@
|
|||
|
||||
#else /* }{ */
|
||||
|
||||
#if (defined(__GNUC__) || defined(__SUNPRO_CC) || defined (__SUNPRO_C)) && defined(HAVE_VISIBILITY) && (defined(LUA_CORE) || defined(LUA_LIB))
|
||||
#define LUA_API __attribute__((visibility("default")))
|
||||
#else
|
||||
#define LUA_API extern
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif /* } */
|
||||
|
||||
|
|
Loading…
Reference in New Issue