Khem Raj e588199a08 opensc: Fix libopensc link picking up build host libraries
libopensc failed to link:

  x86_64-yoe-linux-ld.lld: error: unable to find library -lgio-2.0
  x86_64-yoe-linux-ld.lld: error: unable to find library -lgobject-2.0

  libopensc_la_LINK = $(LIBTOOL) ... --tag=OBJC ... $(OBJCLD) ...

with OBJCLD = $(OBJC). The ENABLE_CRYPTOTOKENKIT conditional only keeps
the .m file out of the sources, automake still picks the linker
statically, so this happens on Linux too. AC_PROG_OBJC detects a bare
"x86_64-yoe-linux-clang" with none of the toolchain options, hence the
link ran without --sysroot:

  OBJC = x86_64-yoe-linux-clang
  CC   = ccache x86_64-yoe-linux-clang -target x86_64-yoe-linux ... \
         --sysroot=.../recipe-sysroot -std=gnu23

Point OBJC at the full CC

Also fix floating gio dependency: opensc's
--enable-notify defaults to "detect" and enables glib2 notification
support whenever gio-2.0 happens to be staged in the sysroot by some
other dependency

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-09-11 07:44:20 -07:00
2026-06-23 00:45:59 -07:00
2025-04-10 08:31:06 -07:00
2026-03-02 19:25:48 -08:00

Collection of layers for the OE-core universe

Main layer maintainer: Khem Raj raj.khem@gmail.com

This repository is a collection of layers to supplement OE-Core with additional packages, Each layer have designated maintainer Please see the respective READMEs in the layer subdirectories

S
Description
No description provided
Readme
127 MiB
Languages
BitBake 86.5%
Shell 5.8%
C 2.7%
Roff 1.9%
NASL 1.7%
Other 1.2%