Sunday, 12 January 2014

[PATCH] libwapcaplet: add support for multilib

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

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

diff --git a/Makefile b/Makefile
index 8df0136..4c125c3 100644
--- a/Makefile
+++ b/Makefile
@@ -43,5 +43,5 @@ endif
# Extra installation rules
I := /include/libwapcaplet
INSTALL_ITEMS := $(INSTALL_ITEMS) $(I):include/libwapcaplet/libwapcaplet.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/libwapcaplet.pc.in b/libwapcaplet.pc.in
index 1517494..9bdfdf5 100644
--- a/libwapcaplet.pc.in
+++ b/libwapcaplet.pc.in
@@ -1,6 +1,6 @@
prefix=PREFIX
exec_prefix=${prefix}
-libdir=${exec_prefix}/lib
+libdir=${exec_prefix}/LIBDIR
includedir=${prefix}/include

Name: libwapcaplet
--
1.8.4.2

No comments:

Post a Comment