2014-02-14 13:51:13 +00:00
|
|
|
export P=`otool -L temp/ortools/ortools/libortools.dylib | grep -v ':' | grep libortools | cut -d '(' -f 1`
|
2014-01-26 21:51:23 +00:00
|
|
|
echo path to change = $P
|
2014-02-14 13:38:07 +00:00
|
|
|
install_name_tool -change $P @loader_path/../libortools.dylib temp/ortools/ortools/algorithms/_pywrapknapsack_solver.so
|
|
|
|
|
install_name_tool -change $P @loader_path/../libortools.dylib temp/ortools/ortools/constraint_solver/_pywrapcp.so
|
|
|
|
|
install_name_tool -change $P @loader_path/../libortools.dylib temp/ortools/ortools/graph/_pywrapgraph.so
|
|
|
|
|
install_name_tool -change $P @loader_path/../libortools.dylib temp/ortools/ortools/linear_solver/_pywraplp.so
|