apr: use configure_args for cross build flags
This commit is contained in:
parent
aad6395993
commit
0e325e7923
|
@ -17,8 +17,8 @@ CFLAGS="-DAPR_IOVEC_DEFINED=1"
|
|||
|
||||
# Can't run test programs when cross compiling
|
||||
if [ -n "$CROSS_BUILD" ]; then
|
||||
export apr_cv_process_shared_works=yes
|
||||
export apr_cv_mutex_robust_shared=yes
|
||||
configure_args+=" apr_cv_process_shared_works=yes"
|
||||
configure_args+=" apr_cv_mutex_robust_shared=yes"
|
||||
fi
|
||||
|
||||
pre_build() {
|
||||
|
|
Loading…
Reference in New Issue