summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2014-01-12 08:22:05 (GMT)
committer John-Mark Bell <jmb@netsurf-browser.org>2014-01-13 00:59:35 (GMT)
commit07bb9c7a28259d0ae456056583f123d85819d1b4 (patch)
tree577bef54d39b0c01448494319f830839ea8ddfc7
parent5d6f88a93529b36355404d630aed4d6303b8272a (diff)
downloadlibwapcaplet-07bb9c7a28259d0ae456056583f123d85819d1b4.tar.gz
libwapcaplet-07bb9c7a28259d0ae456056583f123d85819d1b4.tar.bz2
add support for multilib
Signed-off-by: John-Mark Bell <jmb@netsurf-browser.org>
-rw-r--r--Makefile4
-rw-r--r--libwapcaplet.pc.in2
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