
The new CPack variable `CPACK_DEBIAN_PACKAGE_SHLIBDEPS_PRIVATE_DIRS` can be set to a list of directories. If `CPACK_DEBIAN_PACKAGE_SHLIBDEPS` or `CPACK_DEBIAN_<component>_PACKAGE_SHLIBDEPS` are set to `ON` these directories will be searched by `dpkg-shlibdeps` in order to find private shared library dependencies of the libraries/executables that shall be packed.
20 lines
198 B
C++
20 lines
198 B
C++
#ifndef SHLIBDEPS_PRIVATE
|
|
|
|
# include "mylib.h"
|
|
|
|
int main()
|
|
{
|
|
mylib_function();
|
|
}
|
|
|
|
#else
|
|
|
|
# include "shlibdeps-with-private-lib/myprivatelib.h"
|
|
|
|
int main()
|
|
{
|
|
myprivatelib_function();
|
|
}
|
|
|
|
#endif
|