Josef Schlehofer
73b468c738
python-cffi: fix cross-compilation on macOS hosts
...
setup.py picks the macOS-only -iwithsysroot/usr/include/ffi flag from
sys.platform, which describes the interpreter running the build rather than
the target, so cross-compiling from a macOS host hands an Apple clang flag to
the GNU cross compiler and the build fails. Use sysconfig.get_platform(),
which honours the _PYTHON_HOST_PLATFORM that python3-package.mk exports.
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com >
2026-08-09 20:12:05 +03:00
..
2024-04-07 12:06:34 +02:00
2024-07-12 12:56:24 -07:00
2025-09-24 12:15:55 +02:00
2024-04-07 12:06:34 +02:00
2025-04-28 13:15:31 +08:00
2025-06-08 11:49:07 +03:00
2024-11-17 20:55:02 +02:00
2025-06-01 10:25:23 +03:00
2024-06-23 11:15:50 -07:00
2023-08-25 23:32:07 +08:00
2024-11-17 20:54:13 +02:00
2024-04-07 12:06:34 +02:00
2024-03-04 00:28:42 +00:00
2024-04-23 18:58:31 -07:00
2024-04-07 12:06:34 +02:00
2025-12-29 12:52:40 +01:00
2025-12-29 12:52:40 +01:00
2024-03-21 14:09:57 +08:00
2024-04-07 12:06:34 +02:00
2023-07-10 19:48:19 -07:00
2024-04-07 12:06:34 +02:00
2024-01-02 14:53:09 -08:00
2024-10-30 05:15:42 -07:00
2024-07-09 17:52:36 -07:00
2024-04-07 12:06:34 +02:00
2024-11-17 20:53:44 +02:00
2024-06-10 13:47:21 -07:00
2026-04-05 15:23:22 +02:00
2026-06-08 22:49:30 +02:00
2025-05-04 20:35:57 +08:00
2024-07-14 16:06:36 -07:00
2026-04-30 10:55:46 +02:00
2026-04-30 10:55:46 +02:00
2026-04-30 10:55:46 +02:00
2026-04-30 10:55:46 +02:00
2026-04-30 10:55:46 +02:00
2026-04-30 10:55:46 +02:00
2026-04-30 10:55:46 +02:00
2026-04-30 10:55:46 +02:00
2026-04-30 10:55:46 +02:00
2023-12-20 05:46:33 +00:00
2026-04-30 10:55:46 +02:00
2026-04-30 10:55:46 +02:00
2026-04-30 10:55:46 +02:00
2024-07-14 19:08:29 -07:00
2024-02-04 16:30:55 -08:00
2024-08-24 11:23:16 -07:00
2026-04-30 10:55:46 +02:00
2026-04-30 10:55:46 +02:00
2026-07-11 21:37:39 +02:00
2024-02-26 21:03:22 +01:00
2024-02-26 21:03:22 +01:00
2024-02-26 21:03:22 +01:00
2024-02-26 21:03:22 +01:00
2024-02-26 21:03:22 +01:00
2024-02-26 21:03:22 +01:00
2024-02-26 21:03:22 +01:00
2024-02-26 21:03:22 +01:00
2026-08-09 20:12:05 +03:00
2025-12-18 13:48:52 +02:00
2026-06-09 14:59:36 +02:00
2025-06-30 10:18:26 +02:00
2024-05-14 10:56:51 -07:00