From 75c51570c710aa9c6df6b7a1e131392e1408c63f Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Mon, 20 May 2019 21:08:40 +0200 Subject: support: Expose sbindir as support_sbindir_prefix --- support/support_paths.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'support/support_paths.c') diff --git a/support/support_paths.c b/support/support_paths.c index 1fe32835b1..ff1df2bf20 100644 --- a/support/support_paths.c +++ b/support/support_paths.c @@ -65,6 +65,13 @@ const char support_bindir_prefix[] = BINDIR_PATH; # error please -DBINDIR_PATH=something in the Makefile #endif +#ifdef SBINDIR_PATH +/* Corresponds to the install's bin/ directory. */ +const char support_sbindir_prefix[] = SBINDIR_PATH; +#else +# error please -DSBINDIR_PATH=something in the Makefile +#endif + #ifdef ROOTSBINDIR_PATH /* Corresponds to the install's sbin/ directory. */ const char support_install_rootsbindir[] = ROOTSBINDIR_PATH; -- cgit v1.2.3