wasmer/.circleci
Ivan Enderlin ff5d50b273 fix(runtime-c-api) Set the install name of the dylib to @rpath.
```sh
$ objdump -macho -dylib-id libwasmer_runtime_c_api.dylib
libwasmer_runtime_c_api.dylib:
/Users/distiller/project/target/release/deps/libwasmer_runtime_c_api.dylib
```

we observe that the dylib ID (aka install name) is set to
`/Users/distiller/project/target/release/deps/libwasmer_runtime_c_api.dylib`,
which is valid only in the context of CircleCI.

This patch changes the dylib ID to
`@rpath/libwasmer_runtime_c_api.dylib`, which can be then changed by
the linker option `-rpath` (use `-Wl,-rpath,$value` with the compiler
to send the `-rpath` value to the linker).

This is super useful when dynamically linking libraries against
another language.
2019-05-29 16:14:04 +02:00
..
config.yml fix(runtime-c-api) Set the install name of the dylib to @rpath. 2019-05-29 16:14:04 +02:00