ocssw V2020
fix_mac_rpath Namespace Reference

Variables

bool rerunNeeded = True
 
 p = subprocess.Popen(["otool", "-D", fileName], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
 
 out
 
 err
 
 parts = out.decode("utf-8").split()
 
 rpath = parts[0]
 
 name = parts[len(parts)-1]
 
string id = "@rpath/" + name
 
 lines = out.decode("utf-8").split('\n')
 
 libPath = line.split()[0]
 
 libName = parts[len(parts)-1]
 
string newName = '@rpath/' + libName
 
 line = subprocess.check_output(['file', fileName]).decode("utf-8")
 

Variable Documentation

◆ err

err

Definition at line 20 of file fix_mac_rpath.py.

◆ id

string id = "@rpath/" + name

Definition at line 27 of file fix_mac_rpath.py.

◆ libName

libName = parts[len(parts)-1]

Definition at line 40 of file fix_mac_rpath.py.

◆ libPath

libPath = line.split()[0]

Definition at line 38 of file fix_mac_rpath.py.

◆ line

line = subprocess.check_output(['file', fileName]).decode("utf-8")

Definition at line 55 of file fix_mac_rpath.py.

◆ lines

lines = out.decode("utf-8").split('\n')

Definition at line 34 of file fix_mac_rpath.py.

◆ name

name = parts[len(parts)-1]

Definition at line 26 of file fix_mac_rpath.py.

◆ newName

string newName = '@rpath/' + libName

Definition at line 41 of file fix_mac_rpath.py.

◆ out

out

Definition at line 20 of file fix_mac_rpath.py.

◆ p

p = subprocess.Popen(["otool", "-D", fileName], stdout=subprocess.PIPE, stderr=subprocess.PIPE)

Definition at line 19 of file fix_mac_rpath.py.

◆ parts

parts = out.decode("utf-8").split()

Definition at line 22 of file fix_mac_rpath.py.

◆ rerunNeeded

bool rerunNeeded = True

Definition at line 10 of file fix_mac_rpath.py.

◆ rpath

rpath = parts[0]

Definition at line 24 of file fix_mac_rpath.py.