summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorGlenn Strauss <gstrauss@gluelogic.com>2016-11-28 12:37:36 -0500
committerGlenn Strauss <gstrauss@gluelogic.com>2016-11-28 12:39:11 -0500
commitdf61f19daf08de1e7baa88cfb01ec215bc18da10 (patch)
tree43b91c7016f0082618770fcc2880a56e51ab5228 /SConstruct
parente628fc3509a20b7e7dd03ec522b27f185fe2086c (diff)
downloadlighttpd1.4-df61f19daf08de1e7baa88cfb01ec215bc18da10.tar.gz
lighttpd1.4-df61f19daf08de1e7baa88cfb01ec215bc18da10.zip
[core] compile fix for Mac OS X 10.6 (old) (fixes #2773)
Mac OS X 10.7 Lion introduces arc4random_buf() (thx ryandesign) x-ref: "Mac OS X build issue Undefined symbols" https://redmine.lighttpd.net/issues/2773
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct2
1 files changed, 1 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct
index 83ebe43a..a0a4558d 100644
--- a/SConstruct
+++ b/SConstruct
@@ -221,7 +221,7 @@ if 1:
getuid select signal pathconf madvise prctl\
writev sigaction sendfile64 send_file kqueue port_create localtime_r posix_fadvise issetugid inet_pton \
memset_s explicit_bzero clock_gettime \
- getentropy arc4random jrand48 srandom getloadavg'))
+ getentropy arc4random_buf jrand48 srandom getloadavg'))
checkFunc(autoconf, 'getrandom', 'linux/random.h')
checkTypes(autoconf, Split('pid_t size_t off_t'))