aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mesonbuild/backend/ninjabackend.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/backend/ninjabackend.py b/mesonbuild/backend/ninjabackend.py
index 05427d3..cd7f450 100644
--- a/mesonbuild/backend/ninjabackend.py
+++ b/mesonbuild/backend/ninjabackend.py
@@ -1610,7 +1610,7 @@ int dummy;
args += ['--extern', '{}={}'.format(d.name, os.path.join(d.subdir, d.filename))]
else:
# Rust uses -l for non rust dependencies, but we still need to add (shared|static)=foo
- _type = 'static' if d.typename == 'static library' else 'shared'
+ _type = 'static' if d.typename == 'static library' else 'dylib'
args += ['-l', f'{_type}={d.name}']
if d.typename == 'static library':
external_deps.extend(d.external_deps)