summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn-Mark Bell <jmb@netsurf-browser.org>2014-01-13 01:05:17 (GMT)
committer John-Mark Bell <jmb@netsurf-browser.org>2014-01-13 01:05:17 (GMT)
commit000a7509fff120444825e76a61776b1582fc1089 (patch)
tree1ca5f499ab30d1f01a246d9643b9a2a6bb15402a
parent0f97749cf3df22eb1e4d941893ab36be1174e824 (diff)
downloadlibnsgif-000a7509fff120444825e76a61776b1582fc1089.tar.gz
libnsgif-000a7509fff120444825e76a61776b1582fc1089.tar.bz2
Add support for multilib
-rw-r--r--Makefile4
-rw-r--r--libnsgif.pc.in2
2 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index bc0708c..e609647 100644
--- a/Makefile
+++ b/Makefile
@@ -31,5 +31,5 @@ include $(NSBUILD)/Makefile.top
# Extra installation rules
I := /include
INSTALL_ITEMS := $(INSTALL_ITEMS) $(I):include/libnsgif.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/libnsgif.pc.in b/libnsgif.pc.in
index d27eb6f..3d85e6a 100644
--- a/libnsgif.pc.in
+++ b/libnsgif.pc.in
@@ -1,6 +1,6 @@
prefix=PREFIX
exec_prefix=${prefix}
-libdir=${exec_prefix}/lib
+libdir=${exec_prefix}/LIBDIR
includedir=${prefix}/include
Name: libnsgif