瀏覽代碼

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>
Gustavo Zacarias 9 年之前
父節點
當前提交
cf44dfedc6
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      package/c-ares/c-ares.mk

+ 1 - 0
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