<feed xmlns='http://www.w3.org/2005/Atom'>
<title>packages/net/pdns-recursor/patches/300-boost-dont-search-host-dirs.patch, branch master</title>
<subtitle>Mirror of packages feed</subtitle>
<id>https://git.openwrt.org/feed/packages/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/feed/packages/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/'/>
<updated>2021-03-10T16:42:44Z</updated>
<entry>
<title>pdns-recursor: don't search for boost libs in host</title>
<updated>2021-03-10T16:42:44Z</updated>
<author>
<name>Eneas U de Queiroz</name>
</author>
<published>2021-03-10T16:16:58Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=237fa1add41245c381a4708c61c7b5da36940d44'/>
<id>urn:sha1:237fa1add41245c381a4708c61c7b5da36940d44</id>
<content type='text'>
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 &lt;cotequeiroz@gmail.com&gt;
</content>
</entry>
</feed>
