aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/snippets
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2025-03-07 08:49:26 +0100
committerEli Schwartz <eschwartz93@gmail.com>2025-03-24 19:19:53 -0400
commitcfb5a48e075ad0da9341b35b24872634784fccf8 (patch)
tree2ee92ddae21e51c9851b2281c47fa330fb7913a1 /docs/markdown/snippets
parent4c52a68517521b2f79780b58927030b02c7a53b4 (diff)
downloadmeson-cfb5a48e075ad0da9341b35b24872634784fccf8.zip
meson-cfb5a48e075ad0da9341b35b24872634784fccf8.tar.gz
meson-cfb5a48e075ad0da9341b35b24872634784fccf8.tar.bz2
linkers: darwin: do not use -bundle for shared_modules
Both dynamic libraries and bundles these days can be dynamically loaded using the dl APIs (e.g. dlopen, dlclose). It is not possible to include bundles on a linker command line as if they were shared libraries, but that's pretty much the only difference. However, bundles fail the Apple verification for iOS: 2025-02-10 13:54:09.095 ERROR: Validation failed (409) The binary is invalid. The executable 'Runner.app/Frameworks/numpy._core._operand_flag_tests.framework/numpy._core._operand_flag_tests' has type 'BUNDLE' that is not valid. Only 'EXECUTE' is permitted. 2025-02-10 13:54:09.096 ERROR: Validation failed (409) Missing load commands. The executable at 'Runner.app/Frameworks/numpy._core._operand_flag_tests.framework' does not have the necessary load commands. Try rebuilding the app with the latest Xcode version. If you are using third party development tools, contact the provider. So switch to -dynamiclib for shared modules as well. Fixes: #14240
Diffstat (limited to 'docs/markdown/snippets')
0 files changed, 0 insertions, 0 deletions