Add the ability to use only strong symbols, even on ELF targets
This commit is contained in:
parent
b0420b32d7
commit
9e0ff55ebd
@ -32,7 +32,7 @@
|
||||
# define SODIUM_EXPORT __attribute__ ((visibility ("default")))
|
||||
# endif
|
||||
# endif
|
||||
# ifdef __ELF__
|
||||
# if defined(__ELF__) && !defined(SODIUM_DISABLE_WEAK_FUNCTIONS)
|
||||
# define SODIUM_EXPORT_WEAK SODIUM_EXPORT __attribute__((weak))
|
||||
# else
|
||||
# define SODIUM_EXPORT_WEAK SODIUM_EXPORT
|
||||
|
Loading…
Reference in New Issue
Block a user