mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-10 07:40:03 -06:00
When using `dpkg-shlibdeps` to automatically determine package
dependencies it considers the RUNPATH/RPATH of executables in order to
find all required shared libraries of such executables.
If the RUNPATH/RPATH contains a verbatim `$ORIGIN` (respective
`${ORIGIN}`), it will now be substituted by the packaging-paths of other
components that are marked as dependency and those paths will then be
used as additional search directories for `dpkg-shlibdeps`.
Associated tests were added as well.
Fixes: #21838
9 lines
108 B
C++
9 lines
108 B
C++
#include "myotherlib.h"
|
|
|
|
#include "stdio.h"
|
|
|
|
void myotherlib_function()
|
|
{
|
|
printf("This is myotherlib");
|
|
}
|