diff options
author | Khem Raj <raj.khem@gmail.com> | 2016-01-02 21:41:17 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-24 09:40:28 +0000 |
commit | abdfacb997dd26c7bd0877738db72c695ec785bc (patch) | |
tree | 703fea20e1f99d73e1e8289a3255dd81588d430e /meta/recipes-devtools/apt/apt | |
parent | ec187d35f4a3ff85bdc47e76b33f43a56ac19aaa (diff) | |
download | poky-abdfacb997dd26c7bd0877738db72c695ec785bc.tar.gz |
apt: Add support for building for musl targets
Turn bzip2 support into a PACKAGECONFIG
zlibs is a must have and therefore add it to DEPENDS will make the build
consistent
(From OE-Core rev: ded03dab901647a7388d219a3a228d4f4f4298e8)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/apt/apt')
-rw-r--r-- | meta/recipes-devtools/apt/apt/0001-environment.mak-musl-based-systems-can-generate-shar.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/meta/recipes-devtools/apt/apt/0001-environment.mak-musl-based-systems-can-generate-shar.patch b/meta/recipes-devtools/apt/apt/0001-environment.mak-musl-based-systems-can-generate-shar.patch new file mode 100644 index 0000000000..042372b515 --- /dev/null +++ b/meta/recipes-devtools/apt/apt/0001-environment.mak-musl-based-systems-can-generate-shar.patch | |||
@@ -0,0 +1,29 @@ | |||
1 | From 2f8aa21ace375c18977ed908b291c80a210a93c6 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Thu, 31 Dec 2015 08:06:12 +0000 | ||
4 | Subject: [PATCH] environment.mak: musl based systems can generate shared | ||
5 | objects too | ||
6 | |||
7 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
8 | --- | ||
9 | Upstream-Status: Pending | ||
10 | |||
11 | buildlib/environment.mak.in | 2 +- | ||
12 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
13 | |||
14 | diff --git a/buildlib/environment.mak.in b/buildlib/environment.mak.in | ||
15 | index b0a8d9d..3a52344 100644 | ||
16 | --- a/buildlib/environment.mak.in | ||
17 | +++ b/buildlib/environment.mak.in | ||
18 | @@ -68,7 +68,7 @@ NEED_SOCKLEN_T_DEFINE = @NEED_SOCKLEN_T_DEFINE@ | ||
19 | |||
20 | # Shared library things | ||
21 | HOST_OS = @host_os@ | ||
22 | -ifneq ($(words $(filter gnu% linux-gnu% kfreebsd-gnu% %-gnu,$(HOST_OS))),0) | ||
23 | +ifneq ($(words $(filter gnu% linux-gnu% kfreebsd-gnu% %-gnu linux-musl%,$(HOST_OS))),0) | ||
24 | SONAME_MAGIC=-Wl,-soname -Wl, | ||
25 | LFLAGS_SO= | ||
26 | else | ||
27 | -- | ||
28 | 2.6.4 | ||
29 | |||