summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn-Mark Bell <jmb@netsurf-browser.org>2014-01-13 01:03:53 (GMT)
committer John-Mark Bell <jmb@netsurf-browser.org>2014-01-13 01:03:53 (GMT)
commit3bdee317140a97244e0c3e4cb645fbc144a8f4ec (patch)
treee4746d46ed0123548b4affa5927b28916d06c3cf
parentb36cca2011fad2151262b21b658768ee70163ec1 (diff)
downloadlibnsbmp-3bdee317140a97244e0c3e4cb645fbc144a8f4ec.tar.gz
libnsbmp-3bdee317140a97244e0c3e4cb645fbc144a8f4ec.tar.bz2
Add support for multilib
-rw-r--r--Makefile4
-rw-r--r--libnsbmp.pc.in2
2 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index facc391..5b3984c 100644
--- a/Makefile
+++ b/Makefile
@@ -31,5 +31,5 @@ include $(NSBUILD)/Makefile.top
# Extra installation rules
I := /include/
INSTALL_ITEMS := $(INSTALL_ITEMS) $(I):include/libnsbmp.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/libnsbmp.pc.in b/libnsbmp.pc.in
index bfd3398..5d6b843 100644
--- a/libnsbmp.pc.in
+++ b/libnsbmp.pc.in
@@ -1,6 +1,6 @@
prefix=PREFIX
exec_prefix=${prefix}
-libdir=${exec_prefix}/lib
+libdir=${exec_prefix}/LIBDIR
includedir=${prefix}/include
Name: libnsbmp