blob: afb1332da4850630aa8c1e89595048eb988ffd81 [file] [log] [blame]
Brad Bishop316dfdd2018-06-25 12:45:53 -04001From f64fbca70e6049dad3c404d871f2383d97725d2d Mon Sep 17 00:00:00 2001
Brad Bishopd7bf8c12018-02-25 22:55:05 -05002From: Mark Asselstine <mark.asselstine@windriver.com>
3Date: Fri, 8 Sep 2017 15:11:31 -0400
4Subject: [PATCH] criu: Change libraries install directory
Patrick Williamsd849ec72016-08-17 14:59:38 -05005
Patrick Williamse69d2352017-02-23 20:56:04 -06006Install the libraries into /usr/lib(or /usr/lib64)
Patrick Williamsd849ec72016-08-17 14:59:38 -05007
8Signed-off-by: Jianchuan Wang <jianchuan.wang@windriver.com>
Brad Bishopd7bf8c12018-02-25 22:55:05 -05009Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Brad Bishop316dfdd2018-06-25 12:45:53 -040010
Patrick Williamsd849ec72016-08-17 14:59:38 -050011---
Patrick Williamse69d2352017-02-23 20:56:04 -060012 Makefile.install | 13 -------------
13 1 file changed, 13 deletions(-)
Patrick Williamsd849ec72016-08-17 14:59:38 -050014
Patrick Williamse69d2352017-02-23 20:56:04 -060015diff --git a/Makefile.install b/Makefile.install
Brad Bishop316dfdd2018-06-25 12:45:53 -040016index 1def3cf..d020eef 100644
Patrick Williamse69d2352017-02-23 20:56:04 -060017--- a/Makefile.install
18+++ b/Makefile.install
Brad Bishopd7bf8c12018-02-25 22:55:05 -050019@@ -9,19 +9,6 @@ LIBEXECDIR ?= $(PREFIX)/libexec
20 RUNDIR ?= /run
Patrick Williamsd849ec72016-08-17 14:59:38 -050021
Brad Bishopd7bf8c12018-02-25 22:55:05 -050022 #
Patrick Williamse69d2352017-02-23 20:56:04 -060023-# For recent Debian/Ubuntu with multiarch support.
Brad Bishopd7bf8c12018-02-25 22:55:05 -050024-DEB_HOST_MULTIARCH := $(shell dpkg-architecture -qDEB_HOST_MULTIARCH 2>/dev/null)
Patrick Williamsd849ec72016-08-17 14:59:38 -050025-ifneq "$(DEB_HOST_MULTIARCH)" ""
Patrick Williamse69d2352017-02-23 20:56:04 -060026- LIBDIR ?= $(PREFIX)/lib/$(DEB_HOST_MULTIARCH)
27-else
28- #
29- # For most other systems
30- ifeq "$(shell uname -m)" "x86_64"
31- LIBDIR ?= $(PREFIX)/lib64
32- endif
Patrick Williamsd849ec72016-08-17 14:59:38 -050033-endif
Patrick Williamse69d2352017-02-23 20:56:04 -060034-
Brad Bishopd7bf8c12018-02-25 22:55:05 -050035-#
36 # LIBDIR falls back to the standard path.
37 LIBDIR ?= $(PREFIX)/lib
Patrick Williamsd849ec72016-08-17 14:59:38 -050038