mirror of
https://git.proxmox.com/git/mirror_frr
synced 2026-01-03 19:04:03 +00:00
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>
This commit is contained in:
parent
3c685e64ff
commit
f140bd50f0
@ -29,7 +29,7 @@
|
||||
#include "lib/debug.h"
|
||||
|
||||
/* staticd debugging records */
|
||||
struct debug static_dbg_events;
|
||||
extern struct debug static_dbg_events;
|
||||
|
||||
/*
|
||||
* Initialize staticd debugging.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user