Hello.
I have a strange issue when cross compiling with CMake.
When i compile for host, in the resulting binary i have:
readelf -d ./test
...
0x0001 (NEEDED) Shared library: [libfoo.so]
0x000f (RPATH) Library rpath: [$ORIGIN/../../lib/]
...
When i use CMake toolchain
2013/7/19 Nils Gladitz
> Does /home/mgh/proj/test/lib/libfoo.so not have a SONAME while your
> native libfoo.so does?
>
> The linker may use the SONAME when available and might fall back to the
> path as seen on the command line (/home/mgh/proj/test/lib/libfoo.so)
> otherwise?
>
> Nils
>
Yes,
2013/7/19 Nils Gladitz
> When the library is being created by CMake itself I would have expected
> a SONAME by default:
> "Default is to set "soname" on all shared libraries and modules as long as
> the platform supports it."
>
> Is armLinux a valid value for CMAKE_SYSTEM_NAME?
> Quick glimpse a