forked from qt-creator/qt-creator
Fix rpath call (not calling chrpath through shell anymore).
Change-Id: Ia966c154e0827ce7dc0c4d0a3a45d234f82d0e90 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
This commit is contained in:
@@ -88,7 +88,7 @@ def fix_rpaths_helper(chrpath_bin, install_dir, dirpath, filenames):
|
||||
for filename in filenames:
|
||||
fpath = os.path.join(dirpath, filename)
|
||||
relpath = os.path.relpath(install_dir+'/lib/qtcreator', dirpath)
|
||||
command = [chrpath_bin, '-r', '\\$ORIGIN/'+relpath, fpath]
|
||||
command = [chrpath_bin, '-r', '$ORIGIN/'+relpath, fpath]
|
||||
print fpath, ':', command
|
||||
try:
|
||||
subprocess.check_call(command)
|
||||
|
Reference in New Issue
Block a user