Khem Raj 57623e3e5d libsdl-image: Fix link failure by pointing OBJC at CC
configure.in calls AC_PROG_OBJC and libSDL_image_la_SOURCES carries an
Objective-C source, so automake selects Objective-C as the link language
for the library and emits:

  libSDL_image_la_LINK = $(LIBTOOL) ... --mode=link $(OBJCLD) \
                         $(AM_OBJCFLAGS) $(OBJCFLAGS) ...
  OBJCLD = $(OBJC)

AC_PROG_OBJC detects a bare compiler carrying none of TOOLCHAIN_OPTIONS,
so while compilation goes through $(CC) and is fine, the link drops
--sysroot and the tune flags and falls over:

  ld.lld: error: cannot open crtbeginS.o: No such file or directory
  ld.lld: error: unable to find library -lpng
  ld.lld: error: unable to find library -ljpeg
  ld.lld: error: unable to find library -ltiff
  ld.lld: error: unable to find library -lz
  ld.lld: error: unable to find library -lSDL

Export OBJC as CC so the link gets the full toolchain options.
configure.in already forces OBJCFLAGS=$CFLAGS, so that needs nothing.

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-05 10:13:04 -07:00
2026-06-23 00:45:59 -07: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 117 MiB
Languages
BitBake 86.2%
Shell 5.9%
C 2.8%
Roff 1.9%
NASL 1.7%
Other 1.3%