From 0ac965cc10094e81db87c2b921c1001e97ee6410 Mon Sep 17 00:00:00 2001 From: Nirbheek Chauhan Date: Thu, 22 Dec 2016 02:11:36 +0530 Subject: 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. --- mesonbuild/modules/rpm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mesonbuild/modules') 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: -- cgit v1.1