changeset 1552:449b766ded50

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.)
author Luke Mewburn <luke@mewburn.net>
date Sat, 18 Jul 2020 18:38:11 +1000
parents 2fe434590a8f
children 7701fbee1d14
files include/freeDiameter/extension.h
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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;							\
 											\
"Welcome to our mercurial repository"