summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn-Mark Bell <jmb@netsurf-browser.org>2014-01-13 01:02:56 (GMT)
committer John-Mark Bell <jmb@netsurf-browser.org>2014-01-13 01:02:56 (GMT)
commit7cf749f4a5d167e924d5ea2fc3d1772ff697d6e1 (patch)
treea752e8d372663e7b7ef694ee4e7c3bae78c019c1
parent424c12d02a0065c2889477b12572262ec1ca1ca7 (diff)
downloadlibdom-7cf749f4a5d167e924d5ea2fc3d1772ff697d6e1.tar.gz
libdom-7cf749f4a5d167e924d5ea2fc3d1772ff697d6e1.tar.bz2
Add support for multilib
-rw-r--r--Makefile4
-rw-r--r--libdom.pc.in2
2 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 749c2e4..7c50cad 100644
--- a/Makefile
+++ b/Makefile
@@ -97,8 +97,8 @@ INSTALL_ITEMS := $(INSTALL_ITEMS) $(I):$(Is)/html_option_element.h
INSTALL_ITEMS := $(INSTALL_ITEMS) $(I):$(Is)/html_opt_group_element.h
INSTALL_ITEMS := $(INSTALL_ITEMS) $(I):$(Is)/html_options_collection.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)
ifeq ($(WITH_LIBXML_BINDING),yes)
REQUIRED_PKGS := $(REQUIRED_PKGS) libxml-2.0
diff --git a/libdom.pc.in b/libdom.pc.in
index 2a45e41..b6e82cf 100644
--- a/libdom.pc.in
+++ b/libdom.pc.in
@@ -1,6 +1,6 @@
prefix=PREFIX
exec_prefix=${prefix}
-libdir=${exec_prefix}/lib
+libdir=${exec_prefix}/LIBDIR
includedir=${prefix}/include
Name: libdom