summaryrefslogtreecommitdiffstats
path: root/meta/conf/distro
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2024-01-19 13:43:23 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-01-21 12:27:12 +0000
commit4a61101478be8affd8bba69797e319b9e5657662 (patch)
tree4fbe489a48b830b680a1eb232fe4883ad1380ac1 /meta/conf/distro
parent4a126e31704ab45d8da425fe4e57f3eec817f9f3 (diff)
downloadpoky-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.inc5
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
22DISABLE_STATIC:pn-musl = "" 22DISABLE_STATIC:pn-musl = ""
23 23
24# needed by shadow-native to build static executables, particularly useradd
25DISABLE_STATIC:pn-attr-native = ""
26DISABLE_STATIC:pn-libbsd-native = ""
27DISABLE_STATIC:pn-libmd-native = ""
28
29EXTRA_OECONF:append = "${DISABLE_STATIC}" 24EXTRA_OECONF:append = "${DISABLE_STATIC}"
30 25
31EXTRA_OECMAKE:append:pn-libical = " -DSHARED_ONLY=True" 26EXTRA_OECMAKE:append:pn-libical = " -DSHARED_ONLY=True"