94427deb9d
GitOrigin-RevId: f91ee3065de91a3531329a674a45ddcb3467a650
10 lines
358 B
Bash
10 lines
358 B
Bash
fixGprProjectDarwinRpath() {
|
|
for f in $(find $out -type f -executable); do
|
|
install_name_tool -id $f $f || true
|
|
for rpath in $(otool -L $f | grep @rpath | awk '{print $1}'); do
|
|
install_name_tool -change $rpath ${!outputLib}/lib/$(basename $rpath) $f || true
|
|
done
|
|
done
|
|
}
|
|
|
|
preFixupPhases+=" fixGprProjectDarwinRpath"
|