mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-16 06:07:00 +02:00
apr: depends on libxcrypt-devel
Otherwise apr.h will say that crypt.h is not avaliable which will cause apr-util not to include crypt.h and fail to compile.
This commit is contained in:
parent
1cd643b375
commit
216442b78b
1 changed files with 6 additions and 0 deletions
|
@ -24,6 +24,12 @@ if [ "$CROSS_BUILD" ]; then
|
|||
configure_args+=" ac_cv_func_sem_open=sem_open"
|
||||
fi
|
||||
|
||||
# The apr package doesn't use crypt_r, however apr-util does,
|
||||
# and apr-util uses the apr.h generated by apr's ./configure.
|
||||
if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then
|
||||
makedepends+=" libxcrypt-devel"
|
||||
fi
|
||||
|
||||
pre_build() {
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
vsed -i Makefile \
|
||||
|
|
Loading…
Add table
Reference in a new issue