mirror of
https://frontier.innolan.net/rainlance/c-ares.git
synced 2025-11-20 18:21:47 +00:00
build: Expose whether symbol hiding is on
Adding the CARES_SYMBOL_HIDING definition allows the test suite to detect whether internal symbols are available or not.
This commit is contained in:
@ -388,5 +388,9 @@ AC_DEFUN([CARES_CONFIGURE_SYMBOL_HIDING], [
|
||||
fi
|
||||
AM_CONDITIONAL(DOING_CARES_SYMBOL_HIDING, test x$doing_symbol_hiding = xyes)
|
||||
AC_SUBST(CFLAG_CARES_SYMBOL_HIDING)
|
||||
if test "$doing_symbol_hiding" = "yes"; then
|
||||
AC_DEFINE_UNQUOTED(CARES_SYMBOL_HIDING, 1,
|
||||
[Defined for build with symbol hiding.])
|
||||
fi
|
||||
])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user