Commits

Ville Suoranta authored 074db720828
Remove /opt/casa/03 rpath from readline

setup.py

Modified
226 226 proc = Popen( modCmd, stdout=PIPE, stderr=PIPE,cwd=cwd )
227 227 out,err = pipe_decode(proc.communicate( ))
228 228 print(out,err)
229 229
230 230 modCmd = ['install_name_tool', '-change', cwd +"/build/darwin/lib/" + casalib, "@rpath/" + casalib, cwd+"/casatelemetry/lib/_CrashReporter.so"]
231 231 print(' '.join(modCmd))
232 232 proc = Popen( modCmd, stdout=PIPE, stderr=PIPE,cwd=cwd )
233 233 out,err = pipe_decode(proc.communicate( ))
234 234 print(out,err)
235 235
236 - modCmd = ['install_name_tool', '-change', "/opt/casa/03/lib/" + ncurseslib, "@rpath/" + ncurseslib, cwd+"/casatelemetry/lib/"+casalib]
236 + modCmd = ['install_name_tool', '-change', "/opt/casa/03/lib/" + ncurseslib, "@rpath/" + ncurseslib, cwd+"/casatelemetry/lib/" + casalib]
237 237 print(' '.join(modCmd))
238 238 proc = Popen( modCmd, stdout=PIPE, stderr=PIPE,cwd=cwd )
239 239 out,err = pipe_decode(proc.communicate( ))
240 240 print(out,err)
241 241
242 - modCmd = ['install_name_tool', '-change', "/opt/casa/03/lib/" + readlinelib, "@rpath/" + readlinelib, cwd+"/casatelemetry/lib/"+casalib]
242 + modCmd = ['install_name_tool', '-change', "/opt/casa/03/lib/" + readlinelib, "@rpath/" + readlinelib, cwd+"/casatelemetry/lib/" + casalib]
243 + print(' '.join(modCmd))
244 + proc = Popen( modCmd, stdout=PIPE, stderr=PIPE,cwd=cwd )
245 + out,err = pipe_decode(proc.communicate( ))
246 + print(out,err)
247 +
248 + modCmd = ['install_name_tool', '-change', "/opt/casa/03/lib/" + ncurseslib, "@rpath/" + ncurseslib, cwd+"/casatelemetry/lib/" + readlinelib]
243 249 print(' '.join(modCmd))
244 250 proc = Popen( modCmd, stdout=PIPE, stderr=PIPE,cwd=cwd )
245 251 out,err = pipe_decode(proc.communicate( ))
246 252 print(out,err)
247 253
248 254 # Remove libobj on Mac
249 255 if sys.platform == 'darwin':
250 256 print ("Removing " + libdir + "/libobjc.A.dylib")
251 257 if os.path.exists(libdir + "/libobjc.A.dylib"):
252 258 os.remove(libdir + "/libobjc.A.dylib")

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut