]> git.puffer.fish Git - mirror/frr.git/commit
build: fix CFLAGS for snmp modules
authorDavid Lamparter <equinox@opensourcerouting.org>
Tue, 4 Apr 2017 19:25:19 +0000 (21:25 +0200)
committerDavid Lamparter <equinox@opensourcerouting.org>
Tue, 4 Apr 2017 19:25:19 +0000 (21:25 +0200)
commita263892613216ae4c58fa769c4aada70dcdd9e2c
treebda81998adc99107412b2e2b815a62adaa32cb5c
parent422f8d0ca9745a16b1f46710c621fc9f98200bcf
build: fix CFLAGS for snmp modules

The SNMP modules include <net-snmp/net-snmp-config.h>, which won't be
found in off-searchpath directories without SNMP_CFLAGS.  Unfortunately
in my tests the files were on the search path even without the flags.

(SNMP_LIBS is not needed because only libfrrsnmp calls into net-snmp
functions.)

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
bgpd/Makefile.am
ospf6d/Makefile.am
ospfd/Makefile.am
ripd/Makefile.am
zebra/Makefile.am