summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2014-01-12 08:21:52 (GMT)
committer John-Mark Bell <jmb@netsurf-browser.org>2014-01-13 00:58:30 (GMT)
commit214bf167037692f0cd6b1e9296846b3c01bab12b (patch)
treed24ef2ec4c4fd33066ab739ba6cd2394c7302de3
parent528795a5daf767532a42b492db29deeadebcb249 (diff)
downloadlibhubbub-214bf167037692f0cd6b1e9296846b3c01bab12b.tar.gz
libhubbub-214bf167037692f0cd6b1e9296846b3c01bab12b.tar.bz2
add support for multilib
Signed-off-by: John-Mark Bell <jmb@netsurf-browser.org>
-rw-r--r--Makefile4
-rw-r--r--libhubbub.pc.in2
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