]> gitweb.michael.orlitzky.com - libsvgtiny.git/commitdiff
Add support for multilib
authorJohn-Mark Bell <jmb@netsurf-browser.org>
Mon, 13 Jan 2014 01:07:38 +0000 (01:07 +0000)
committerJohn-Mark Bell <jmb@netsurf-browser.org>
Mon, 13 Jan 2014 01:07:38 +0000 (01:07 +0000)
Makefile
libsvgtiny.pc.in

index fe6f657c9830ac5f3119c829c4f9bc5980004ff3..6ecef77b1b6e36abf98b0580f6dec24967f272d2 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -47,5 +47,5 @@ include $(NSBUILD)/Makefile.top
 # Extra installation rules
 I := /include
 INSTALL_ITEMS := $(INSTALL_ITEMS) $(I):include/svgtiny.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)
index d591b429e610c4b4b4fbd6a01b28a1ee51f8f99e..a3021f6c96f9f2eab824e2703e70d8d8384cd5fc 100644 (file)
@@ -1,6 +1,6 @@
 prefix=PREFIX
 exec_prefix=${prefix}
-libdir=${exec_prefix}/lib
+libdir=${exec_prefix}/LIBDIR
 includedir=${prefix}/include
 
 Name: libsvgtiny