pdns-recursor: don't search for boost libs in host 15084/head
authorEneas U de Queiroz <cotequeiroz@gmail.com>
Wed, 10 Mar 2021 16:16:58 +0000 (13:16 -0300)
committerEneas U de Queiroz <cotequeiroz@gmail.com>
Wed, 10 Mar 2021 16:42:44 +0000 (13:42 -0300)
commit237fa1add41245c381a4708c61c7b5da36940d44
treee44cbc1ae003abb111ba3500a6571c530a96bfd8
parentc9c03e60945f87402baabc3063b7aa549db34369
pdns-recursor: don't search for boost libs in host

While searching for the boost_system library in boost.m4, configure
tries to find boost_system-mt before boost_system.  The presence of
boost_system-mt in the staging dir depends on
CONFIG_boost-use-name-tags.  If it is not defined (default), and there
is a boost_system-mt library in the host system, it will be used, and
the build will fail.

This adds a patch to remove the host paths from the search loop,
preserving the rest of the detection logic.

Alternatively, boost_cv_lib_context_LIBS could be used to avoid library
detection code entirely, but then the mt- variant would never be used.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
net/pdns-recursor/patches/300-boost-dont-search-host-dirs.patch [new file with mode: 0644]