# HG changeset patch # User Luke Mewburn # Date 1595061491 -36000 # Node ID 449b766ded50ad0224f5a0a98f148b7619d15fc9 # Parent 2fe434590a8f784c52fd5f623a2c326d8c25afcb extensions: fix dependency checking Fix extension dependency checking by unhiding "fd_ext_depends". (I accidentally broke this with the change on 2020-03-30 to hide symbols by default.) diff -r 2fe434590a8f -r 449b766ded50 include/freeDiameter/extension.h --- a/include/freeDiameter/extension.h Wed Jul 08 16:55:24 2020 +1000 +++ b/include/freeDiameter/extension.h Sat Jul 18 18:38:11 2020 +1000 @@ -46,6 +46,7 @@ /* Macro that define the entry point of the extension */ #define EXTENSION_ENTRY(_name, _function, _depends...) \ +__attribute__((visibility("default"))) \ const char *fd_ext_depends[] = { _name , ## _depends , NULL }; \ static int extension_loaded = 0; \ \