Fix shared library building on xcode.

pull/3233/head
Jukka Laurila 7 years ago committed by Jussi Pakkanen
parent fe215bb826
commit 1d0169f4e7
  1. 2
      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 = ''

Loading…
Cancel
Save