Blob Blame History Raw
From 7d818fad7c441dbb793a9585243e580f6bbc61ca Mon Sep 17 00:00:00 2001
From: David Tardon <dtardon@redhat.com>
Date: Sun, 12 Jan 2014 09:21:37 +0100
Subject: [PATCH] add support for multilib

Signed-off-by: John-Mark Bell <jmb@netsurf-browser.org>
---
 Makefile     | 4 ++--
 libcss.pc.in | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/Makefile b/Makefile
index 68ec9ba..cacece7 100644
--- a/Makefile
+++ b/Makefile
@@ -57,5 +57,5 @@ INSTALL_ITEMS := $(INSTALL_ITEMS) $(I):include/libcss/properties.h
 INSTALL_ITEMS := $(INSTALL_ITEMS) $(I):include/libcss/select.h
 INSTALL_ITEMS := $(INSTALL_ITEMS) $(I):include/libcss/stylesheet.h
 INSTALL_ITEMS := $(INSTALL_ITEMS) $(I):include/libcss/types.h
-INSTALL_ITEMS := $(INSTALL_ITEMS) /lib/pkgconfig:lib$(COMPONENT).pc.in
-INSTALL_ITEMS := $(INSTALL_ITEMS) /lib:$(OUTPUT)
+INSTALL_ITEMS := $(INSTALL_ITEMS) /$(LIBDIR)/pkgconfig:lib$(COMPONENT).pc.in
+INSTALL_ITEMS := $(INSTALL_ITEMS) /$(LIBDIR):$(OUTPUT)
diff --git a/libcss.pc.in b/libcss.pc.in
index 46155a8..695aa76 100644
--- a/libcss.pc.in
+++ b/libcss.pc.in
@@ -1,6 +1,6 @@
 prefix=PREFIX
 exec_prefix=${prefix}
-libdir=${exec_prefix}/lib
+libdir=${exec_prefix}/LIBDIR
 includedir=${prefix}/include
 
 Name: libcss
-- 
1.8.4.2