Certain Meson compiler checks fail if CFLAGS has -arch x86_64 -arch arm64. This was causing us not to set HAVE_UNISTD_H, and then to fail the build on an implicit function declaration. Detect this configuration during setup and fail with a clearer error.
Certain Meson compiler checks fail if CFLAGS has
-arch x86_64 -arch arm64
. This was causing us not to setHAVE_UNISTD_H
, and then to fail the build on an implicit function declaration. Detect this configuration during setup and fail with a clearer error.https://trac.macports.org/ticket/69676