diff options
| author | Bernd Kuhls <bernd.kuhls@t-online.de> | 2014-10-05 19:38:49 +0200 |
|---|---|---|
| committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2014-10-26 22:17:19 +0100 |
| commit | aac552e61fb7ff8cbae3d615dcf17e9335996e00 (patch) | |
| tree | 296d94207fc41b78911f761effe6a8a0af760be5 | |
| parent | 2875ec9124f0ae3a3da45de9d3169fc74c505692 (diff) | |
| download | buildroot-aac552e61fb7ff8cbae3d615dcf17e9335996e00.tar.gz buildroot-aac552e61fb7ff8cbae3d615dcf17e9335996e00.zip | |
package/apr: Fix detection of rlimit and large file support
Snippets from configure log:
before:
checking whether to enable -D_LARGEFILE64_SOURCE... no
...
checking struct rlimit... no
after
checking whether to enable -D_LARGEFILE64_SOURCE... (cached) yes
...
checking struct rlimit... (cached) yes
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
| -rw-r--r-- | package/apr/apr.mk | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/package/apr/apr.mk b/package/apr/apr.mk index 1a4c0e261b..dfaf2130aa 100644 --- a/package/apr/apr.mk +++ b/package/apr/apr.mk @@ -16,6 +16,7 @@ APR_CONF_ENV = \ apr_cv_mutex_robust_shared=no \ apr_cv_tcp_nodelay_with_cork=yes \ ac_cv_sizeof_struct_iovec=8 \ + ac_cv_struct_rlimit=yes \ apr_cv_mutex_recursive=yes APR_CONFIG_SCRIPTS = apr-1-config @@ -24,6 +25,11 @@ ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y) APR_CONF_ENV += apr_cv_pthreads_lib="-lpthread" endif +# Fix lfs detection when cross compiling +ifeq ($(BR2_LARGEFILE),y) +APR_CONF_ENV += apr_cv_use_lfs64=yes +endif + define APR_CLEANUP_UNNEEDED_FILES $(RM) -rf $(TARGET_DIR)/usr/build-1/ endef |

