fwts: Do not use --as-needed on ppc64

This is not seen on non ppc64 hosts

Fixes
build/src/lib/src/.libs/libfwts.so: undefined reference to `fwts_acpica_sem_count_get'

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj
2022-03-14 09:42:37 -07:00
parent 33b294c8b2
commit 33841aec58
@@ -23,6 +23,10 @@ inherit autotools bash-completion pkgconfig
LDFLAGS:append:libc-musl = " -lexecinfo"
# We end up linker barfing with undefined symbols on ppc64 but not on other arches
# surprisingly
ASNEEDED:powerpc64le = ""
FILES:${PN} += "${libdir}/fwts/lib*${SOLIBS}"
FILES:${PN}-dev += "${libdir}/fwts/lib*${SOLIBSDEV} ${libdir}/fwts/lib*.la"
FILES:${PN}-staticdev += "${libdir}/fwts/lib*a"