Browse Source

csprng: fixed to build if the libc is not including an internal argp implementation

stable/0.6
Christian Wiese 11 years ago committed by Christian Wiese
parent
commit
0cbb1d075a
  1. 7
      security/csprng/csprng.conf

7
security/csprng/csprng.conf

@ -24,3 +24,10 @@ if atstage cross; then
# and our stage 0 compile only supports C
var_append extraconfopt ' ' "--disable-http-rng"
fi
# if the standalone argp implementation is used because the libc used
# is not including argp support, like musl or uClibc we need to tell
# the linker about it.
if pkginstalled argp-standalone; then
var_append configprefix ' ' "LDFLAGS=-largp"
fi

Loading…
Cancel
Save