[OE-core] [OE-Core][PATCH] libxcrypt: Enable static builds

Alex Kiernan alex.kiernan at gmail.com
Wed Jan 22 07:19:34 UTC 2020


Whilst glibc builds static binaries libxcrypt doesn't, without which we
can't build, for example, a static busybox. Enable static libraries here
so that anyone who needs a static binary using just basic libraries has
one fewer dependencies to track down post libxcrypt being split out of
glibc.

Signed-off-by: Alex Kiernan <alex.kiernan at gmail.com>
---

 meta/recipes-core/libxcrypt/libxcrypt.inc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-core/libxcrypt/libxcrypt.inc b/meta/recipes-core/libxcrypt/libxcrypt.inc
index accbdd636152..e98d8084470c 100644
--- a/meta/recipes-core/libxcrypt/libxcrypt.inc
+++ b/meta/recipes-core/libxcrypt/libxcrypt.inc
@@ -32,4 +32,6 @@ CFLAGS += "-fcommon"
 API = "--disable-obsolete-api"
 EXTRA_OECONF += "${API}"
 
+DISABLE_STATIC = ""
+
 BBCLASSEXTEND = "nativesdk"
-- 
2.17.1



More information about the Openembedded-core mailing list