diff --git a/CMakeLists.txt b/CMakeLists.txt index a993d94..2f35f89 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -277,9 +277,11 @@ if(HAVE_MEMMEM) add_definitions(-DHAVE_MEMMEM) endif() -check_include_files(endian.h HAVE_ENDIAN_H) -if(HAVE_ENDIAN_H) - add_definitions(-DHAVE_ENDIAN_H) +if (NOT IOS) + check_include_files(endian.h HAVE_ENDIAN_H) + if(HAVE_ENDIAN_H) + add_definitions(-DHAVE_ENDIAN_H) + endif() endif() check_include_files(machine/endian.h HAVE_MACHINE_ENDIAN_H) diff --git a/README.md b/README.md index f1f8972..1dd6a67 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,7 @@ Built from https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-3.8.0.tar.gz Modifications: * Removed targets for apps, tests, install, uninstall. * Removed extra files like unneeded target sources, Makefiles, autoconf files. +* Disabled endian.h check for iOS as it breaks build. ===