aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-containers/criu/files/0002-criu-Change-libraries-install-directory.patch
blob: 1a1beafdb6fc3bc75b39375dd3ab1c32435e6830 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
From dcbf7f8ad1b07ff718eac2ce79ed522ac1cee189 Mon Sep 17 00:00:00 2001
From: Mark Asselstine <mark.asselstine@windriver.com>
Date: Fri, 8 Sep 2017 15:11:31 -0400
Subject: [PATCH 2/3] criu: Change libraries install directory

Install the libraries into /usr/lib(or /usr/lib64)

Upstream-Status: Inappropriate [embedded specific]

Signed-off-by: Jianchuan Wang <jianchuan.wang@windriver.com>
Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>

Rebase for criu 3.17.1.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
---
 Makefile.install | 13 -------------
 1 file changed, 13 deletions(-)

diff --git a/Makefile.install b/Makefile.install
index 1b02b70af..2839ef5fe 100644
--- a/Makefile.install
+++ b/Makefile.install
@@ -9,19 +9,6 @@ LIBEXECDIR	?= $(PREFIX)/libexec
 RUNDIR		?= /run
 PLUGINDIR	?= $(PREFIX)/lib/criu
 
-#
-# For recent Debian/Ubuntu with multiarch support.
-DEB_HOST_MULTIARCH := $(shell dpkg-architecture -qDEB_HOST_MULTIARCH 2>/dev/null)
-ifneq "$(DEB_HOST_MULTIARCH)" ""
-        LIBDIR			?= $(PREFIX)/lib/$(DEB_HOST_MULTIARCH)
-else
-        #
-        # For most other systems
-        ifeq "$(shell uname -m)" "x86_64"
-                LIBDIR		?= $(PREFIX)/lib64
-        endif
-endif
-
 #
 # LIBDIR falls back to the standard path.
 LIBDIR ?= $(PREFIX)/lib
-- 
2.25.1