From cf44dfedc6cec76c245d9de6545a4349b7747bd1 Mon Sep 17 00:00:00 2001 From: Gustavo Zacarias Date: Wed, 25 Nov 2015 09:44:13 -0300 Subject: [PATCH] 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 Signed-off-by: Peter Korsgaard --- package/c-ares/c-ares.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/c-ares/c-ares.mk b/package/c-ares/c-ares.mk index c858887a18..77ae4b968f 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 -- 2.30.2