diff options
author | Sutou Kouhei <kou@clear-code.com> | 2022-06-10 11:36:31 +0900 |
---|---|---|
committer | Eli Schwartz <eschwartz93@gmail.com> | 2022-06-10 02:48:41 -0400 |
commit | f6e7cc070e537ab6585536727f5ea380fb998f3d (patch) | |
tree | ede7193dfaf1181727a46cc965022ceba9a2b6e1 /mesonbuild/build.py | |
parent | 0aeb61bd52fba4500a3c28e32f1acc91c63dac8d (diff) | |
download | meson-f6e7cc070e537ab6585536727f5ea380fb998f3d.zip meson-f6e7cc070e537ab6585536727f5ea380fb998f3d.tar.gz meson-f6e7cc070e537ab6585536727f5ea380fb998f3d.tar.bz2 |
build: CustomTargetIndex.is_linkable_target misses '.dylib'
CustomTarget.is_linkable_target has '.dylib'.
See also 93b1d31af9d90f306aa104eee1e9be8e1ebbacad that added '.dylib'
to CustomTarget.is_linkable_target but didn't add '.dylib' to
CustomTargetIndex.is_linkable_target.
Diffstat (limited to 'mesonbuild/build.py')
-rw-r--r-- | mesonbuild/build.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/build.py b/mesonbuild/build.py index 3de5ef4..9513d18 100644 --- a/mesonbuild/build.py +++ b/mesonbuild/build.py @@ -2772,7 +2772,7 @@ class CustomTargetIndex(HoldableObject): def is_linkable_target(self) -> bool: suf = os.path.splitext(self.output)[-1] - return suf in {'.a', '.dll', '.lib', '.so'} + return suf in {'.a', '.dll', '.lib', '.so', '.dylib'} def links_dynamically(self) -> bool: """Whether this target links dynamically or statically |