c-ares: define random file
authorGustavo Zacarias <gustavo.zacarias@free-electrons.com>
Wed, 25 Nov 2015 12:44:13 +0000 (09:44 -0300)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 25 Nov 2015 22:00:06 +0000 (23:00 +0100)
When cross-compiling it assumes there's none, however that's not true.
Specify the usual /dev/urandom for this usage, it's used for random key
generation on startup.

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/c-ares/c-ares.mk

index c858887a18e77b50181f572424df5fcd1ed06f3b..77ae4b968f8cd9d35fef45a98f3d4deec6a05fe7 100644 (file)
@@ -7,6 +7,7 @@
 C_ARES_VERSION = 1.10.0
 C_ARES_SITE = http://c-ares.haxx.se/download
 C_ARES_INSTALL_STAGING = YES
+C_ARES_CONF_OPTS = --with-random=/dev/urandom
 # Rebuild configure to avoid XC_CHECK_USER_CFLAGS
 C_ARES_AUTORECONF = YES
 C_ARES_LICENSE = MIT