diff options
author | Kim Alvefur <zash@zash.se> | 2017-12-03 15:21:12 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2017-12-03 15:21:12 +0100 |
commit | abb425e70f217eb660aadb29885e07a7238b7feb (patch) | |
tree | 7bf81f4d70bac58ed3522b88d14c3c0dbeb9c487 /configure | |
parent | da570eb0a423c412d44ddc0855826037232d928f (diff) | |
download | prosody-abb425e70f217eb660aadb29885e07a7238b7feb.tar.gz prosody-abb425e70f217eb660aadb29885e07a7238b7feb.zip |
util.crand: Make it possible to use arc4random on Linux (needs libbsd)
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -528,6 +528,8 @@ OPENSSL_LIBS="-l$OPENSSL_LIB" if [ "$PRNG" = "OPENSSL" ]; then PRNGLIBS=$OPENSSL_LIBS +elif [ "$PRNG" = "ARC4RANDOM" -a "$(uname)" = "Linux" ]; then + PRNGLIBS="-lbsd" fi # Write config |