author | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Sat, 27 May 2017 12:30:33 +0000 (14:30 +0200) | ||
committer | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Sat, 27 May 2017 12:30:33 +0000 (14:30 +0200) | ||
commit | c1ddaf55d030e0e214c1359c8f8dc6ecbf9bee30 | |
tree | 5105077e19d996a80b2415155aa9f2dccb1e6d7b | tree | snapshot |
parent | 5656ad0619d99be0eab5dd642f2e6d384c2d0ac0 | commit | diff |
snmp-agent: fix build on RHEL6
libnetsnmpagent.so from net-snmp 5.5 needs some symbols from libnetsnmphelpers.so,
but does not link against it on RHEL5.
Work around this by looking for one of those symbols in the helper lib,
and if found, link against it.
Later versions of net-snmp seem to have moved those symbols to
libnetsnmpagent.so, so it's not an issue there.
libnetsnmpagent.so from net-snmp 5.5 needs some symbols from libnetsnmphelpers.so,
but does not link against it on RHEL5.
Work around this by looking for one of those symbols in the helper lib,
and if found, link against it.
Later versions of net-snmp seem to have moved those symbols to
libnetsnmpagent.so, so it's not an issue there.
configure.ac | diff | blob | history |