]> git.saurik.com Git - apt.git/commit
prepare-release: Also search for libraries in CMake locations
authorJulian Andres Klode <jak@debian.org>
Sat, 6 Aug 2016 17:07:22 +0000 (19:07 +0200)
committerJulian Andres Klode <jak@debian.org>
Sat, 6 Aug 2016 20:35:54 +0000 (22:35 +0200)
commitcc1b834fe966d40206d148e1f27f0502463ac69f
treee0b0b861c76431b71acb4ef96ae8abae5b7a6dc8
parent2b54bc754edb937a5c9bfe6e0e62c2787d760976
prepare-release: Also search for libraries in CMake locations

With this change, the 'library' command looks for a library libX
in the directories: build/bin, */X, X.

This allows it to find the library when building with the
upcoming CMake backend, which places the libraries in a sub
directory of the build tree with the same name as the source
tree.

For example, if building in 'build/', the apt-pkg library
will be available at 'build/apt-pkg/libapt-pkg.so.5.0'.

In case there are multiple instances of a library,
the newest one will be used.

Gbp-Dch: ignore
prepare-release