pull/2625/head
rkfg 7 years ago committed by Jussi Pakkanen
parent c63b3d253d
commit 87bf152e6e
  1. 4
      mesonbuild/compilers/compilers.py

@ -833,7 +833,9 @@ class Compiler:
paths = ':'.join([os.path.join('$ORIGIN', p) for p in rel_rpaths]) paths = ':'.join([os.path.join('$ORIGIN', p) for p in rel_rpaths])
# Build_rpath is used as-is (it is usually absolute). # Build_rpath is used as-is (it is usually absolute).
if build_rpath != '': if build_rpath != '':
paths += ':' + build_rpath if paths != '':
paths += ':'
paths += build_rpath
if len(paths) < len(install_rpath): if len(paths) < len(install_rpath):
padding = 'X' * (len(install_rpath) - len(paths)) padding = 'X' * (len(install_rpath) - len(paths))
if not paths: if not paths:

Loading…
Cancel
Save