>From 07d3f9e7b75e218ceb0d35a36c2d124aedc5c826 Mon Sep 17 00:00:00 2001
From: David Tardon <dtardon@redhat.com>
Date: Sun, 12 Jan 2014 09:22:17 +0100
Subject: [PATCH] add support for multilib
---
Makefile | 4 ++--
libparserutils.pc.in | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/Makefile b/Makefile
index 3b8dc8a..13495c1 100644
--- a/Makefile
+++ b/Makefile
@@ -48,5 +48,5 @@ Is := include/parserutils/utils
I := /include/parserutils/utils
INSTALL_ITEMS := $(INSTALL_ITEMS) $(I):$(Is)/buffer.h;$(Is)/stack.h;$(Is)/vector.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/libparserutils.pc.in b/libparserutils.pc.in
index 9fcb54e..307e909 100644
--- a/libparserutils.pc.in
+++ b/libparserutils.pc.in
@@ -1,6 +1,6 @@
prefix=PREFIX
exec_prefix=${prefix}
-libdir=${exec_prefix}/lib
+libdir=${exec_prefix}/LIBDIR
includedir=${prefix}/include
Name: libparserutils
--
1.8.4.2
No comments:
Post a Comment