Commit ce75f631a6 for frr
commit ce75f631a6a678e5d0850cab8bb227e7cd1a7e34
Author: David 'equinox' Lamparter <equinox@opensourcerouting.org>
Date: Wed Oct 14 22:43:44 2026 +0200
build: add all path variables to `frr.pc`
While *code* needing these should be getting them out of libfrr, other
tooling (or tests) benefit from having another way to get the build-time
path parameters. `.pc` files are kinda designed for that.
Signed-off-by: David 'equinox' Lamparter <equinox@opensourcerouting.org>
diff --git a/frr.pc.in b/frr.pc.in
index 8d492571be..dd3ed1ab98 100644
--- a/frr.pc.in
+++ b/frr.pc.in
@@ -5,6 +5,13 @@
moduledir="@e_moduledir@"
prefix="@prefix@"
includedir="${prefix}/include/frr"
+yangmodelsdir="@e_yangmodelsdir@"
+scriptdir="@e_scriptdir@"
+frr_runstatedir="@e_frr_runstatedir@"
+frr_libstatedir="@e_frr_libstatedir@"
+frr_sysconfdir="@e_frr_sysconfdir@"
+vtysh_bin="@e_vtysh_bin@"
+watchfrr_sh="@e_watchfrr_sh@"
#
# these are needed to make the build work
#