mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-10-04 14:56:41 +00:00
sdbus-c++-libsystemd: fix musl build by selecting -Dlibc=${TCLIBC}
Without -Dlibc set, systemd's in-tree musl support was disabled and the static libsystemd.a build failed on musl (missing printf.h). Signed-off-by: Greg Breen <gregbree@amazon.com> Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
1 parent
654b5f2a30
commit
ebb9423413
1 file changed
+3
@@ -23,6 +23,9 @@ PACKAGECONFIG[idn] = "-Didn=true,-Didn=false"
|
||||
|
||||
CFLAGS:append:libc-musl = " -D__UAPI_DEF_ETHHDR=0 "
|
||||
|
||||
# Enable systemd's in-tree musl support (mirrors oe-core's systemd recipe).
|
||||
EXTRA_OEMESON += "-Dlibc=${TCLIBC}"
|
||||
|
||||
EXTRA_OEMESON += "-Dstatic-libsystemd=pic"
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user