blob: 2e15841b0dbbdbf80ec4d223c476fc034b0d9071 [file] [log] [blame]
Andrew Geissler5f350902021-07-23 13:09:54 -04001Use $libexecdir instead of hardcoding $prefix/lib as this breaks multilib builds.
2
3Upstream-Status: Inappropriate
4Signed-off-by: Ross Burton <ross.burton@arm.com>
5
6diff --git a/config-scripts/cups-directories.m4 b/config-scripts/cups-directories.m4
7index 1430af3a6..6efedc604 100644
8--- a/config-scripts/cups-directories.m4
9+++ b/config-scripts/cups-directories.m4
10@@ -265,7 +265,7 @@ case "$host_os_name" in
11 *-gnu)
12 # GNUs
13 INSTALL_SYSV="install-sysv"
14- CUPS_SERVERBIN="$exec_prefix/lib/cups"
15+ CUPS_SERVERBIN="$libexecdir/cups"
16 ;;
17 *bsd* | darwin*)
18 # *BSD and Darwin (macOS)
19@@ -275,7 +275,7 @@ case "$host_os_name" in
20 *)
21 # All others
22 INSTALL_SYSV="install-sysv"
23- CUPS_SERVERBIN="$exec_prefix/lib/cups"
24+ CUPS_SERVERBIN="$libexecdir/cups"
25 ;;
26 esac
27