Blob Blame Raw
diff -up cups-1.5b1/cups-config.in.multilib cups-1.5b1/cups-config.in
--- cups-1.5b1/cups-config.in.multilib	2010-06-16 02:48:25.000000000 +0200
+++ cups-1.5b1/cups-config.in	2011-05-23 17:33:31.000000000 +0200
@@ -22,8 +22,10 @@ prefix=@prefix@
 exec_prefix=@exec_prefix@
 bindir=@bindir@
 includedir=@includedir@
-libdir=@libdir@
-imagelibdir=@libdir@
+# Fetch libdir from openssl's pkg-config script.  This is a bit
+# of a cheat, but the cups-devel package requires openssl-devel anyway.
+libdir=`pkg-config --variable=libdir openssl`
+imagelibdir=`pkg-config --variable=libdir openssl`
 datarootdir=@datadir@
 datadir=@datadir@
 sysconfdir=@sysconfdir@