summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn-Mark Bell <jmb@netsurf-browser.org>2014-01-13 01:07:38 (GMT)
committer John-Mark Bell <jmb@netsurf-browser.org>2014-01-13 01:07:38 (GMT)
commit44e516175ea8230af288c3e41dadae8d42a4e31a (patch)
treedb1c987afb78e1a96bbf7fd79ac2d73c7ae51348
parenta5f7f12cbe1c5de8d1a9cd01bf6e55a2733a66d5 (diff)
downloadlibsvgtiny-44e516175ea8230af288c3e41dadae8d42a4e31a.tar.gz
libsvgtiny-44e516175ea8230af288c3e41dadae8d42a4e31a.tar.bz2
Add support for multilib
-rw-r--r--Makefile4
-rw-r--r--libsvgtiny.pc.in2
2 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index fe6f657..6ecef77 100644
--- a/Makefile
+++ b/Makefile
@@ -47,5 +47,5 @@ include $(NSBUILD)/Makefile.top
# Extra installation rules
I := /include
INSTALL_ITEMS := $(INSTALL_ITEMS) $(I):include/svgtiny.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/libsvgtiny.pc.in b/libsvgtiny.pc.in
index d591b42..a3021f6 100644
--- a/libsvgtiny.pc.in
+++ b/libsvgtiny.pc.in
@@ -1,6 +1,6 @@
prefix=PREFIX
exec_prefix=${prefix}
-libdir=${exec_prefix}/lib
+libdir=${exec_prefix}/LIBDIR
includedir=${prefix}/include
Name: libsvgtiny