Skip to contentSkip to conversation

cups: fix libdir handling

PATCH New Arnout Vandecappelle (Essensium/Mind) 2 participants 2 messages Jul 10, 2012 – Nov 4, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cups: fix libdir handling

Cups uses /usr/lib64 if the HOST has it, no matter if it is cross compiling for a 32bit arch, breaking the build for stuff looking in /usr/lib.

The fix of commit edd2716c didn't work, it would just force /usr/lib64 if the target is 64 bit. Instead, force installation in /usr/lib regardless of the host.

---
 package/cups/cups.mk |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/cups/cups.mk +1 -1
index 6d906ec..1f88cff 100644
@@ -14,7 +14,7 @@ CUPS_CONF_OPT = --without-perl \
 		--without-java \
 		--disable-gnutls \
 		--disable-gssapi \
-		--libdir=/usr/$(if $(BR2_ARCH_IS_64),lib64,lib)
+		--libdir=/usr/lib
 
 CUPS_DEPENDENCIES = $(if $(BR2_PACKAGE_ZLIB),zlib) \
 		    $(if $(BR2_PACKAGE_LIBPNG),libpng) \
Signature · 1 line
tg: (b8b57bb..) t/cups-64 (depends on: master)
#1 lore raw

PATCH 1/1 cups: fix libdir handling

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Arnout" == Arnout Vandecappelle (Essensium/Mind) <[email protected]> writes:

Arnout> Cups uses /usr/lib64 if the HOST has it, no matter if it is Arnout> cross compiling for a 32bit arch, breaking the build for stuff Arnout> looking in /usr/lib.

Arnout> The fix of commit edd2716c didn't work, it would just force Arnout> /usr/lib64 if the target is 64 bit. Instead, force Arnout> installation in /usr/lib regardless of the host.

Arnout> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <[email protected]>

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard