summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn-Mark Bell <jmb@netsurf-browser.org>2014-01-13 01:04:41 (GMT)
committer John-Mark Bell <jmb@netsurf-browser.org>2014-01-13 01:04:41 (GMT)
commit6be96085a9b3aafd2704b8bedc2d32c7781094e3 (patch)
treed787b114571202a947dba16a7a1b678e58d5f7ed
parent93a71d901a26afa47617a30806bc970ed40de022 (diff)
downloadlibnsfb-6be96085a9b3aafd2704b8bedc2d32c7781094e3.tar.gz
libnsfb-6be96085a9b3aafd2704b8bedc2d32c7781094e3.tar.bz2
Add support for multilib.
-rw-r--r--Makefile4
-rw-r--r--libnsfb.pc.in2
2 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 20cc233..7b4dbb8 100644
--- a/Makefile
+++ b/Makefile
@@ -110,5 +110,5 @@ INSTALL_ITEMS := $(INSTALL_ITEMS) $(I):include/libnsfb_plot.h
INSTALL_ITEMS := $(INSTALL_ITEMS) $(I):include/libnsfb_plot_util.h
INSTALL_ITEMS := $(INSTALL_ITEMS) $(I):include/libnsfb_event.h
INSTALL_ITEMS := $(INSTALL_ITEMS) $(I):include/libnsfb_cursor.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/libnsfb.pc.in b/libnsfb.pc.in
index 64e8270..9796cf5 100644
--- a/libnsfb.pc.in
+++ b/libnsfb.pc.in
@@ -1,6 +1,6 @@
prefix=PREFIX
exec_prefix=${prefix}
-libdir=${exec_prefix}/lib
+libdir=${exec_prefix}/LIBDIR
includedir=${prefix}/include
Name: libnsfb