meson: build macOS signed binary as part of the default target
PATCH 1/1 meson: build macOS signed binary as part of the default target
---
Toolchain on macOS hosts generates unsigned binaries, named with a -unsigned suffix.
The default target does not generate a signed version.
This patch adds the custom target that generates the signed version to the build by default target list, only for macOS hosts.
--- meson.build | 1 + 1 file changed, 1 insertion(+)
meson.build +1 -0
@@ -4453,6 +4453,7 @@ foreach target : target_dirs emulators += {exe['name'] : custom_target(exe['name'], input: build_input, output: exe['name'], + build_by_default: true, command: [entitlement, '@OUTPUT@', '@INPUT@']) }
---
base-commit: cc329c491768b2d91eb0b0984f3baa0bf805776d
change-id: 20260609-macos-default-signed-bin-a75612cf7a85
Best regards,
Signature · 1 line
Emmanuel Blot <[email protected]>
Quoted 30 lines · Emmanuel Blot
Signed-off-by Emmanuel Blot <[email protected]>---
Toolchain on macOS hosts generates unsigned binaries, named with a-unsignedsuffix.The default target does not generate a signed version.
This patch adds the custom target that generates the signed version to the build by default target list, only for macOS hosts.
--- meson.build | 1 + 1 file changed, 1 insertion(+)meson.build +1
-1@@ -4453,6 +4453,7 @@ foreach target : target_dirs emulators += {exe['name'] : custom_target(exe['name'], input: build_input, output: exe['name'], + build_by_default: true, command: [entitlement, '@OUTPUT@', '@INPUT@']) } ---base-commit:
cc329c491768b2d91eb0b0984f3baa0bf805776d
change-id: 20260609-macos-default-signed-bin-a75612cf7a85
Quoted 4 lines
Best regards,
Signature · 1 line
Emmanuel Blot <[email protected]>
Congrats on finding this one! That's the right fix.
I looked around this area and totally missed the fact it was a custom_target instead of an executable, and since it's never used as a dependency, it has no reason to be built by default.
Regards,
Pierrick