]> git.ipfire.org Git - thirdparty/pdns.git/commit
Fix semistatic building 2025/head
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Mon, 29 Dec 2014 16:10:32 +0000 (17:10 +0100)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Mon, 29 Dec 2014 16:23:46 +0000 (17:23 +0100)
commita4422e04ea6b3ad9ac0aff8111fc04b9505178dd
treee4e5f96a30c328619940d30c2a67ddf71708368f
parent8174a1023799458c7d2922ca15ad8fdcb0b52eed
Fix semistatic building

5e71d414cfc6 added BOOST_LDFLAGS to the front of LDFLAGS.
A side effect of this change is that this adds -L/usr/lib
at the front of the linker search path, where normally it is last.

We then try to link to /usr/lib/libpq.a but that's a different version
than the one we need.

As a workaround place the BOOST_LDFLAGS after LDFLAGS. The correct fix
needs more thought.
configure.ac