ImagingDataCommons / libdicom

C library for reading DICOM files
https://libdicom.readthedocs.io
MIT License
15 stars 7 forks source link

Explicitly fail if macOS universal build is attempted #86

Closed bgilbert closed 3 months ago

bgilbert commented 3 months ago

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.

https://trac.macports.org/ticket/69676

jcupitt commented 3 months ago

Thanks Benjamin!