summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn-Mark Bell <jmb@netsurf-browser.org>2014-01-13 01:06:34 (GMT)
committer John-Mark Bell <jmb@netsurf-browser.org>2014-01-13 01:06:34 (GMT)
commit9781bad448de12227fcd99114af37894e732a844 (patch)
tree0ef0a273780d30aff76382dad71685f7354734bf
parent7c0ea49830da2c47110c8c1e48bdaf9798e7f7c8 (diff)
downloadlibrosprite-9781bad448de12227fcd99114af37894e732a844.tar.gz
librosprite-9781bad448de12227fcd99114af37894e732a844.tar.bz2
Add support for multilib
-rw-r--r--Makefile4
-rw-r--r--librosprite.pc.in2
2 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index e2be83f..d0f9c90 100644
--- a/Makefile
+++ b/Makefile
@@ -41,5 +41,5 @@ include $(NSBUILD)/Makefile.top
# Extra installation rules
I := /include
INSTALL_ITEMS := $(INSTALL_ITEMS) $(I):include/librosprite.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/librosprite.pc.in b/librosprite.pc.in
index 391bc08..6b278b3 100644
--- a/librosprite.pc.in
+++ b/librosprite.pc.in
@@ -1,6 +1,6 @@
prefix=PREFIX
exec_prefix=${prefix}
-libdir=${exec_prefix}/lib
+libdir=${exec_prefix}/LIBDIR
includedir=${prefix}/include
Name: librosprite