summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/cups/cups/libexecdir.patch
blob: 2e15841b0dbbdbf80ec4d223c476fc034b0d9071 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Use $libexecdir instead of hardcoding $prefix/lib as this breaks multilib builds.

Upstream-Status: Inappropriate
Signed-off-by: Ross Burton <ross.burton@arm.com>

diff --git a/config-scripts/cups-directories.m4 b/config-scripts/cups-directories.m4
index 1430af3a6..6efedc604 100644
--- a/config-scripts/cups-directories.m4
+++ b/config-scripts/cups-directories.m4
@@ -265,7 +265,7 @@ case "$host_os_name" in
 	*-gnu)
 		# GNUs
 		INSTALL_SYSV="install-sysv"
-		CUPS_SERVERBIN="$exec_prefix/lib/cups"
+		CUPS_SERVERBIN="$libexecdir/cups"
 		;;
 	*bsd* | darwin*)
 		# *BSD and Darwin (macOS)
@@ -275,7 +275,7 @@ case "$host_os_name" in
 	*)
 		# All others
 		INSTALL_SYSV="install-sysv"
-		CUPS_SERVERBIN="$exec_prefix/lib/cups"
+		CUPS_SERVERBIN="$libexecdir/cups"
 		;;
 esac