summaryrefslogtreecommitdiff
path: root/package/c-ares
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo.zacarias@free-electrons.com>2015-11-25 09:44:13 -0300
committerPeter Korsgaard <peter@korsgaard.com>2015-11-25 23:00:06 +0100
commitcf44dfedc6cec76c245d9de6545a4349b7747bd1 (patch)
tree40c84a83b75db09d8c7e0628e08872ad9e5d82fb /package/c-ares
parent9327c73aa87b7ee633a29b978528cac541120d7b (diff)
c-ares: define random file
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>
Diffstat (limited to 'package/c-ares')
-rw-r--r--package/c-ares/c-ares.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/c-ares/c-ares.mk b/package/c-ares/c-ares.mk
index c858887a1..77ae4b968 100644
--- a/package/c-ares/c-ares.mk
+++ b/package/c-ares/c-ares.mk
@@ -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