Sunday, 12 January 2014

[PATCH] libhubbub: add support for multilib

>From cf99d8f58e92eaf8e7143a83b966a9f7a8fb57c5 Mon Sep 17 00:00:00 2001
From: David Tardon <dtardon@redhat.com>
Date: Sun, 12 Jan 2014 09:21:52 +0100
Subject: [PATCH] add support for multilib

---
Makefile | 4 ++--
libhubbub.pc.in | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/Makefile b/Makefile
index 6972e5c..3971738 100644
--- a/Makefile
+++ b/Makefile
@@ -68,5 +68,5 @@ INSTALL_ITEMS := $(INSTALL_ITEMS) $(I):include/hubbub/hubbub.h
INSTALL_ITEMS := $(INSTALL_ITEMS) $(I):include/hubbub/parser.h
INSTALL_ITEMS := $(INSTALL_ITEMS) $(I):include/hubbub/tree.h
INSTALL_ITEMS := $(INSTALL_ITEMS) $(I):include/hubbub/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/libhubbub.pc.in b/libhubbub.pc.in
index 8da88a5..2f9565e 100644
--- a/libhubbub.pc.in
+++ b/libhubbub.pc.in
@@ -1,6 +1,6 @@
prefix=PREFIX
exec_prefix=${prefix}
-libdir=${exec_prefix}/lib
+libdir=${exec_prefix}/LIBDIR
includedir=${prefix}/include

Name: libhubbub
--
1.8.4.2

No comments:

Post a Comment