aboutsummaryrefslogtreecommitdiff
path: root/support/support_paths.c
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2020-12-11 17:24:08 +0100
committerFlorian Weimer <fweimer@redhat.com>2020-12-11 18:30:57 +0100
commitcb81264fd9973cd95bbc71495185b98979d28918 (patch)
tree16495644fed9aebadf133440b05a3c97f6d23991 /support/support_paths.c
parentcd543b5eb3642d76e365a131ce676f31fe3f1dd4 (diff)
downloadglibc-cb81264fd9973cd95bbc71495185b98979d28918.tar
glibc-cb81264fd9973cd95bbc71495185b98979d28918.tar.gz
glibc-cb81264fd9973cd95bbc71495185b98979d28918.tar.bz2
glibc-cb81264fd9973cd95bbc71495185b98979d28918.zip
support: Add support_slibdir_prefix variable
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
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 edc6511304..514273444a 100644
--- a/support/support_paths.c
+++ b/support/support_paths.c
@@ -72,6 +72,13 @@ const char support_sbindir_prefix[] = SBINDIR_PATH;
# error please -DSBINDIR_PATH=something in the Makefile
#endif
+#ifdef SLIBDIR_PATH
+/* Corresponds to the system /lib or /lib64 directory. */
+const char support_slibdir_prefix[] = SLIBDIR_PATH;
+#else
+# error please -DSLIBDIR_PATH=something in the Makefile
+#endif
+
#ifdef ROOTSBINDIR_PATH
/* Corresponds to the install's sbin/ directory. */
const char support_install_rootsbindir[] = ROOTSBINDIR_PATH;