Observed result or behaviour:
The dylib generated by Rust has a dependency to the target folder. Using cmake to install the library retains this dependency.
Run otool -L libiceoryx2_ffi.dylib to list all the dependencies.
Expected result or behaviour:
The dylib should not have a dependency to the target folder
Conditions where it occurred / Performed steps:
Check if the discovery C example links to shared libs.
Required information
Operating system: macOS; any version
Rust version: any version
Cargo version: any version
iceoryx2 version: main branch
Observed result or behaviour: The
dylib
generated by Rust has a dependency to thetarget
folder. Usingcmake
to install the library retains this dependency.Run
otool -L libiceoryx2_ffi.dylib
to list all the dependencies.Expected result or behaviour: The
dylib
should not have a dependency to thetarget
folderConditions where it occurred / Performed steps:
Check if the discovery C example links to shared libs.
Run the discovery C example
Run
otool