updated unbound cmake for static builds

This commit is contained in:
Riccardo Spagni
2015-04-06 19:39:59 +02:00
parent b2b612794d
commit cbddb5f690
3 changed files with 34 additions and 2 deletions

View File

@@ -104,7 +104,7 @@ set(common_src
set(compat_src)
foreach (symbol IN ITEMS ctime_r gmtime_r inet_aton inet_ntop inet_pton malloc memcmp memmove snprintf strlcat strlcpy strptime explicit_bzero arc4random arc4random_uniform sha512)
foreach (symbol IN ITEMS ctime_r gmtime_r inet_aton inet_ntop inet_pton malloc memcmp memmove snprintf strlcat strlcpy strptime explicit_bzero arc4random arc4random_uniform sha512 reallocarray)
string(TOUPPER "${symbol}" upper_sym)
if (NOT HAVE_${upper_sym})
list(APPEND compat_src