summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn-Mark Bell <jmb@netsurf-browser.org>2014-01-13 01:07:05 (GMT)
committer John-Mark Bell <jmb@netsurf-browser.org>2014-01-13 01:07:05 (GMT)
commite7eeb12679c53a7b60d5fbb14f7e62275985d0d9 (patch)
tree414a109871b29211791efee049baa26ca8e4b73e
parente9b4a065e0d0975d9ec4ba655cf321834665514a (diff)
downloadlibrufl-e7eeb12679c53a7b60d5fbb14f7e62275985d0d9.tar.gz
librufl-e7eeb12679c53a7b60d5fbb14f7e62275985d0d9.tar.bz2
Add support for multilib
-rw-r--r--Makefile4
-rw-r--r--librufl.pc.in2
2 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 1b17f5c..b087a9e 100644
--- a/Makefile
+++ b/Makefile
@@ -42,5 +42,5 @@ include $(NSBUILD)/Makefile.top
# Extra installation rules
I := /include
INSTALL_ITEMS := $(INSTALL_ITEMS) $(I):include/rufl.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/librufl.pc.in b/librufl.pc.in
index 0996103..c7bc9b3 100644
--- a/librufl.pc.in
+++ b/librufl.pc.in
@@ -1,6 +1,6 @@
prefix=PREFIX
exec_prefix=${prefix}
-libdir=${exec_prefix}/lib
+libdir=${exec_prefix}/LIBDIR
includedir=${prefix}/include
Name: librufl