summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2014-01-12 08:22:17 (GMT)
committer John-Mark Bell <jmb@netsurf-browser.org>2014-01-13 00:59:00 (GMT)
commit23ddaed7565e63a343276a082f3ac415d91eb673 (patch)
tree31ba1e359a287a14d8958b91c71fd6cf9f15c456
parentc17538277ea7136697b952e1be1ed5b58c2b5629 (diff)
downloadlibparserutils-23ddaed7565e63a343276a082f3ac415d91eb673.tar.gz
libparserutils-23ddaed7565e63a343276a082f3ac415d91eb673.tar.bz2
add support for multilib
Signed-off-by: John-Mark Bell <jmb@netsurf-browser.org>
-rw-r--r--Makefile4
-rw-r--r--libparserutils.pc.in2
2 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 3b8dc8a..13495c1 100644
--- a/Makefile
+++ b/Makefile
@@ -48,5 +48,5 @@ Is := include/parserutils/utils
I := /include/parserutils/utils
INSTALL_ITEMS := $(INSTALL_ITEMS) $(I):$(Is)/buffer.h;$(Is)/stack.h;$(Is)/vector.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/libparserutils.pc.in b/libparserutils.pc.in
index 9fcb54e..307e909 100644
--- a/libparserutils.pc.in
+++ b/libparserutils.pc.in
@@ -1,6 +1,6 @@
prefix=PREFIX
exec_prefix=${prefix}
-libdir=${exec_prefix}/lib
+libdir=${exec_prefix}/LIBDIR
includedir=${prefix}/include
Name: libparserutils