Florent Castelli
726e6454b5
Ninja,Makefile: Do not convert separators in the install-name directory
...
The Ninja and Makefile generators passed the install-name directory of a
shared library (`@rpath/` by default, or `INSTALL_NAME_DIR`) through
`ConvertToOutputFormat(SHELL)`. That converts directory separators for
the host shell, so a Windows host cross-compiling for macOS wrote
`-install_name @rpath\libfoo.dylib`. The install name is not a host
path: it is embedded in the Mach-O load command and read by dyld on the
target, where a backslash never matches anything.
Escape the value for the shell without converting separators, in both
generators. Add a test to each that fakes an install-name platform and
checks the generated build files keep the forward slashes.
Fixes : #28104
2026-09-22 14:29:50 -04:00
..
2020-04-22 08:03:16 -04:00
2020-08-03 19:38:16 +02:00
2020-08-03 19:38:16 +02:00
2023-02-11 06:24:22 -05:00
2020-04-23 12:46:58 -04:00
2023-10-23 16:42:12 -04:00
2024-10-03 11:52:22 -04:00
2025-01-22 10:40:53 -05:00
2025-01-22 10:40:53 -05:00
2023-02-11 06:24:22 -05:00
2025-09-02 15:33:20 -04:00
2025-09-02 15:33:20 -04:00
2025-10-06 09:54:15 -04:00
2023-11-01 14:08:18 -04:00
2021-04-12 13:06:49 +02:00
2023-11-01 14:08:18 -04:00
2023-11-01 14:08:18 -04:00
2023-11-01 14:08:18 -04:00
2023-11-01 14:08:18 -04:00
2023-02-17 17:12:12 +02:00
2023-05-22 16:50:51 -04:00
2020-01-27 13:26:40 -05:00
2025-03-03 11:58:21 -05:00
2023-02-11 06:24:22 -05:00
2023-10-26 09:20:45 -04:00
2023-02-11 06:24:22 -05:00
2026-05-04 11:10:01 +02:00
2026-05-04 11:10:01 +02:00
2026-09-22 14:29:50 -04:00
2026-09-22 14:29:50 -04:00
2022-10-26 15:25:45 -04:00
2026-02-08 16:16:21 -05:00
2022-10-26 15:25:45 -04:00
2025-10-20 14:45:24 -04:00
2023-12-20 17:05:09 +01:00
2025-07-29 08:06:30 -04:00
2025-07-29 08:06:30 -04:00
2021-03-29 15:17:11 -04:00
2021-03-29 15:17:11 -04:00
2021-03-29 15:17:11 -04:00
2025-10-15 09:39:01 -04:00
2023-02-11 06:24:22 -05:00
2023-02-11 06:24:22 -05:00
2022-10-06 22:12:22 +02:00
2026-09-22 14:29:50 -04:00
2020-04-22 08:03:16 -04:00
2025-10-20 14:45:24 -04:00
2020-04-22 08:03:16 -04:00
2020-04-22 08:03:16 -04:00
2025-10-20 14:45:24 -04:00
2020-04-22 08:03:16 -04:00
2023-02-11 06:24:22 -05:00
2024-02-07 09:31:42 -05:00
2024-02-07 09:31:42 -05:00
2024-02-07 09:31:42 -05:00
2024-02-07 09:38:14 -05:00
2024-02-07 09:38:14 -05:00
2024-02-07 09:38:14 -05:00
2023-01-28 07:16:58 -05:00
2023-01-28 07:16:58 -05:00
2023-01-28 07:16:58 -05:00
2023-01-28 07:16:58 -05:00
2023-01-28 07:16:58 -05:00
2023-01-28 07:16:58 -05:00
2023-01-28 07:16:58 -05:00
2023-01-28 07:16:58 -05:00
2023-01-28 07:16:58 -05:00
2023-01-28 07:16:58 -05:00
2023-01-28 07:16:58 -05:00
2023-01-28 07:16:58 -05:00
2023-05-15 15:34:55 -04:00
2023-05-15 15:34:55 -04:00
2023-05-15 15:34:55 -04:00
2023-01-28 07:16:58 -05:00
2023-01-28 07:16:58 -05:00
2023-01-28 07:16:58 -05:00
2023-01-28 06:30:08 -05:00
2023-01-28 06:30:08 -05:00
2023-01-28 06:30:08 -05:00
2023-01-28 06:30:08 -05:00
2023-01-28 06:30:08 -05:00
2023-01-28 06:30:08 -05:00
2023-01-28 07:16:58 -05:00
2023-01-28 07:16:58 -05:00
2023-01-28 07:16:58 -05:00
2023-01-28 07:16:58 -05:00
2023-01-28 07:16:58 -05:00
2023-01-28 07:16:58 -05:00
2022-10-30 08:29:55 -04:00
2023-01-28 06:30:08 -05:00
2023-01-28 06:30:08 -05:00
2020-08-03 19:38:16 +02:00
2025-07-16 21:16:24 +02:00
2025-07-16 21:16:24 +02:00
2023-02-11 06:24:22 -05:00
2025-10-20 14:45:24 -04:00
2025-07-29 08:06:30 -04:00
2023-02-11 06:24:22 -05:00
2023-10-26 09:20:45 -04:00
2023-02-11 06:24:22 -05:00
2025-10-20 14:45:24 -04:00
2023-05-27 07:04:17 -04:00
2025-07-29 08:06:30 -04:00
2025-10-20 14:45:24 -04:00
2025-07-29 08:06:30 -04:00
2025-07-29 08:06:30 -04:00