aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/modules
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2016-12-22 02:11:36 +0530
committerNirbheek Chauhan <nirbheek@centricular.com>2016-12-22 02:27:01 +0530
commit0ac965cc10094e81db87c2b921c1001e97ee6410 (patch)
tree75ea0705fff61044067e93f7c085498af7678ea7 /mesonbuild/modules
parent18f581f2c47d3ba81ce753334830ac8ecd5e5a5c (diff)
downloadmeson-0ac965cc10094e81db87c2b921c1001e97ee6410.zip
meson-0ac965cc10094e81db87c2b921c1001e97ee6410.tar.gz
meson-0ac965cc10094e81db87c2b921c1001e97ee6410.tar.bz2
Fix shared library symlink aliasing on install
Set the rules for the symlinking on the target itself, and then reuse that information while generating aliases during the build, and then pass it to the install script too.
Diffstat (limited to 'mesonbuild/modules')
-rw-r--r--mesonbuild/modules/rpm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/modules/rpm.py b/mesonbuild/modules/rpm.py
index e3c45c0..ece1610 100644
--- a/mesonbuild/modules/rpm.py
+++ b/mesonbuild/modules/rpm.py
@@ -55,7 +55,7 @@ class RPMModule:
files.add('%%{_bindir}/%s' % target.get_filename())
elif isinstance(target, build.SharedLibrary) and target.need_install:
files.add('%%{_libdir}/%s' % target.get_filename())
- for alias in target.get_aliaslist():
+ for alias in target.get_aliases():
if alias.endswith('.so'):
files_devel.add('%%{_libdir}/%s' % alias)
else: