diff options
Diffstat (limited to 'poky/meta/recipes-extended/cups/cups/libexecdir.patch')
-rw-r--r-- | poky/meta/recipes-extended/cups/cups/libexecdir.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/poky/meta/recipes-extended/cups/cups/libexecdir.patch b/poky/meta/recipes-extended/cups/cups/libexecdir.patch new file mode 100644 index 000000000..2e15841b0 --- /dev/null +++ b/poky/meta/recipes-extended/cups/cups/libexecdir.patch @@ -0,0 +1,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 +
\ No newline at end of file |