summary refs log tree commit diff
path: root/support/support_paths.c
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2019-05-20 21:08:40 +0200
committerFlorian Weimer <fweimer@redhat.com>2019-05-20 21:15:35 +0200
commit75c51570c710aa9c6df6b7a1e131392e1408c63f (patch)
treeb0ebc4733220d33ec5862cb99ecdbd40d471d0b0 /support/support_paths.c
parentb62bb3bc683ab1ca5f69631f0b588a406370d5dc (diff)
downloadglibc-75c51570c710aa9c6df6b7a1e131392e1408c63f.tar.gz
glibc-75c51570c710aa9c6df6b7a1e131392e1408c63f.tar.xz
glibc-75c51570c710aa9c6df6b7a1e131392e1408c63f.zip
support: Expose sbindir as support_sbindir_prefix
Diffstat (limited to 'support/support_paths.c')
-rw-r--r--support/support_paths.c7
1 files changed, 7 insertions, 0 deletions
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;