aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/backend/xcodebackend.py
diff options
context:
space:
mode:
authorJukka Laurila <jlaurila@google.com>2018-03-07 22:50:08 +0100
committerJussi Pakkanen <jpakkane@gmail.com>2018-03-12 23:05:07 +0200
commit1d0169f4e722716d2436001e1f39bd55cf04c261 (patch)
tree6f7376cedd0e045f4b2a7f35efd360a7ab6792eb /mesonbuild/backend/xcodebackend.py
parentfe215bb82675c3c83d3367ab7cfc39f5c785f6f9 (diff)
downloadmeson-1d0169f4e722716d2436001e1f39bd55cf04c261.zip
meson-1d0169f4e722716d2436001e1f39bd55cf04c261.tar.gz
meson-1d0169f4e722716d2436001e1f39bd55cf04c261.tar.bz2
Fix shared library building on xcode.
Diffstat (limited to 'mesonbuild/backend/xcodebackend.py')
-rw-r--r--mesonbuild/backend/xcodebackend.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/backend/xcodebackend.py b/mesonbuild/backend/xcodebackend.py
index e2204fe..9a9f88b 100644
--- a/mesonbuild/backend/xcodebackend.py
+++ b/mesonbuild/backend/xcodebackend.py
@@ -706,7 +706,7 @@ class XCodeBackend(backends.Backend):
if isinstance(target, build.SharedLibrary):
ldargs = ['-dynamiclib', '-Wl,-headerpad_max_install_names'] + dep_libs
install_path = os.path.join(self.environment.get_build_dir(), target.subdir, buildtype)
- dylib_version = target.version
+ dylib_version = target.soversion
else:
ldargs = dep_libs
install_path = ''