diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2024-01-19 13:43:23 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-01-21 12:27:12 +0000 |
commit | 4a61101478be8affd8bba69797e319b9e5657662 (patch) | |
tree | 4fbe489a48b830b680a1eb232fe4883ad1380ac1 /meta/conf/distro | |
parent | 4a126e31704ab45d8da425fe4e57f3eec817f9f3 (diff) | |
download | poky-4a61101478be8affd8bba69797e319b9e5657662.tar.gz |
shadow: replace static linking with dynamic libraries in a custom location and bundled with shadow
Despite our efforts to make static linking work, there have
been new reports of bizarre build failures:
https://lists.openembedded.org/g/openembedded-core/message/194006
https://lists.openembedded.org/g/openembedded-core/message/193907
This commit changes back to dynamic linking, but places
the libraries in a custom location, per RP's suggestion.
(From OE-Core rev: b93562937737e97dbc8cb7c874e9913f6a285a34)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/distro')
-rw-r--r-- | meta/conf/distro/include/no-static-libs.inc | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/meta/conf/distro/include/no-static-libs.inc b/meta/conf/distro/include/no-static-libs.inc index 8898d53d75..75359928a1 100644 --- a/meta/conf/distro/include/no-static-libs.inc +++ b/meta/conf/distro/include/no-static-libs.inc | |||
@@ -21,11 +21,6 @@ DISABLE_STATIC:pn-libusb1-native = "" | |||
21 | # needed by rust | 21 | # needed by rust |
22 | DISABLE_STATIC:pn-musl = "" | 22 | DISABLE_STATIC:pn-musl = "" |
23 | 23 | ||
24 | # needed by shadow-native to build static executables, particularly useradd | ||
25 | DISABLE_STATIC:pn-attr-native = "" | ||
26 | DISABLE_STATIC:pn-libbsd-native = "" | ||
27 | DISABLE_STATIC:pn-libmd-native = "" | ||
28 | |||
29 | EXTRA_OECONF:append = "${DISABLE_STATIC}" | 24 | EXTRA_OECONF:append = "${DISABLE_STATIC}" |
30 | 25 | ||
31 | EXTRA_OECMAKE:append:pn-libical = " -DSHARED_ONLY=True" | 26 | EXTRA_OECMAKE:append:pn-libical = " -DSHARED_ONLY=True" |