Without setting the install name, the copied object will still reference to the original object, which is not going to work if it is ever moved out of CBQN directory: $ otool -L libcbqn.dylib libcbqn.dylib: build/obj2/linker-4qa8skka2dk9e991rjom3lns7elgmlak4h98e0bcb0t8os3o6o5/res (compatibility version 0.0.0, current version 0.0.0) With this change the install name of the dylib object is set to @rpath/libcbqn.dylib, so it's loaded the same way .so files on Linux are. |
||
|---|---|---|
| .. | ||
| build.bqn | ||
| clangd.bqn | ||
| fork.bqn | ||
| runner.bqn | ||
| serialize.bqn | ||