summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn-Mark Bell <jmb@netsurf-browser.org>2014-01-13 01:06:01 (GMT)
committer John-Mark Bell <jmb@netsurf-browser.org>2014-01-13 01:06:01 (GMT)
commit97fbd89e431b009d8164c76b49add0affee51e40 (patch)
tree357d21c6efb458a2c36570b7654d73497e22af1d
parentec183abb7864c5ec35cdeae87feaa74be6e6bb3e (diff)
downloadlibpencil-97fbd89e431b009d8164c76b49add0affee51e40.tar.gz
libpencil-97fbd89e431b009d8164c76b49add0affee51e40.tar.bz2
Add support for multilib
-rw-r--r--Makefile4
-rw-r--r--libpencil.pc.in2
2 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 1c71167..adf4b1c 100644
--- a/Makefile
+++ b/Makefile
@@ -53,5 +53,5 @@ include $(NSBUILD)/Makefile.top
# Extra installation rules
I := /include
INSTALL_ITEMS := $(INSTALL_ITEMS) $(I):include/pencil.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/libpencil.pc.in b/libpencil.pc.in
index 6863e73..2721074 100644
--- a/libpencil.pc.in
+++ b/libpencil.pc.in
@@ -1,6 +1,6 @@
prefix=PREFIX
exec_prefix=${prefix}
-libdir=${exec_prefix}/lib
+libdir=${exec_prefix}/LIBDIR
includedir=${prefix}/include
Name: libpencil