]> git.puffer.fish Git - mirror/frr.git/commit
staticd: fix build on Fedora Rawhide 5930/head
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Sat, 7 Mar 2020 22:30:44 +0000 (23:30 +0100)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Sat, 7 Mar 2020 22:30:44 +0000 (23:30 +0100)
commitf140bd50f0a38d6761df42396fbeb030d103b493
treecdc3983254ae23ca8058d875c8a83faff57b7ad8
parent3c685e64ff0529cf5bf949dca0b63faf8b79ccb6
staticd: fix build on Fedora Rawhide

Fixes the following linker issue:
 CC       staticd/static_main.o
  CC       staticd/static_debug.o
  CC       staticd/static_vty.o
  AR       staticd/libstatic.a
  CCLD     staticd/staticd
/usr/bin/ld: staticd/libstatic.a(static_debug.o):/home/ruben/src/frr/staticd/static_debug.h:32: multiple definition of `static_dbg_events'; staticd/static_main.o:/home/ruben/src/frr/staticd/static_debug.h:32: first defined here

Signed-off-by: Ruben Kerkhof <ruben@rubenkerkhof.com>
staticd/static_debug.h