mirror of
https://git.yoctoproject.org/poky
synced 2026-09-14 03:49:32 +02:00
zlib: Fix autotools off64_t patch logic fixing darwin builds
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5328 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
@@ -583,15 +583,15 @@ Index: zlib-1.2.3/configure.ac
|
||||
+CPPFLAGS=$zlib_save_CPPFLAGS
|
||||
+
|
||||
+AC_CACHE_CHECK([whether to enable -D_LARGEFILE64_SOURCE], [zlib_cv_use_lfs64], [
|
||||
+ zlib_cv_use_lfs64=yes
|
||||
+ if test "$ac_cv_off64_t" = "yes"; then
|
||||
+ zlib_cv_use_lfs64=no
|
||||
+ if test "$ac_cv_type_off64_t" = "yes"; then
|
||||
+ zlib_cv_use_lfs64=yes
|
||||
+ fi
|
||||
+])
|
||||
+
|
||||
+if test "$zlib_cv_use_lfs64" = "yes"; then
|
||||
+ CPPFLAGS="$CPPFLAGS -D_LARGEFILE64_SOURCE"
|
||||
+ echo "eek"
|
||||
+
|
||||
+ #APR_ADDTO(CPPFLAGS, [-D_LARGEFILE64_SOURCE])
|
||||
+fi
|
||||
+
|
||||
|
||||
Reference in New Issue
Block a user