brcompatd wants to use this in an upcoming commit.
($(ro_c) && \
echo 'const char ovs_pkgdatadir[] = "$(pkgdatadir)";' && \
echo 'const char ovs_rundir[] = "@RUNDIR@";' && \
- echo 'const char ovs_logdir[] = "@LOGDIR@";') > lib/dirs.c.tmp
+ echo 'const char ovs_logdir[] = "@LOGDIR@";' && \
+ echo 'const char ovs_bindir[] = "$(bindir)";') > lib/dirs.c.tmp
mv lib/dirs.c.tmp lib/dirs.c
install-data-local:
extern const char ovs_pkgdatadir[]; /* /usr/local/share/openvswitch */
extern const char ovs_rundir[]; /* /usr/local/var/run */
extern const char ovs_logdir[]; /* /usr/local/var/log */
+extern const char ovs_bindir[]; /* /usr/local/bin */
#endif /* dirs.h */