2017-01-24 19:33:22 +01:00
|
|
|
export P=`otool -L $1/ortools/ortools/libortools.dylib | grep -v ':' | grep libortools | cut -d '(' -f 1`
|
|
|
|
|
echo PYPI_ARCHIVE_TEMP_DIR = $1
|
2014-01-26 21:51:23 +00:00
|
|
|
echo path to change = $P
|
2017-01-24 19:33:22 +01:00
|
|
|
install_name_tool -change $P @loader_path/../libortools.dylib $1/ortools/ortools/algorithms/_pywrapknapsack_solver.so
|
|
|
|
|
install_name_tool -change $P @loader_path/../libortools.dylib $1/ortools/ortools/constraint_solver/_pywrapcp.so
|
|
|
|
|
install_name_tool -change $P @loader_path/../libortools.dylib $1/ortools/ortools/graph/_pywrapgraph.so
|
|
|
|
|
install_name_tool -change $P @loader_path/../libortools.dylib $1/ortools/ortools/linear_solver/_pywraplp.so
|