package/sdl3_image: disable vendoring, use direct dynamic linking

Be explicit about the fact that we don't want to use vendored
dependencies, and that we want to use normal dynamic linking instead
of dlopen()ing dependencies.

Signed-off-by: Alsey Coleman Miller <alseycmiller@gmail.com>
[Thomas: extracted from https://patchwork.buildroot.org/project/buildroot/patch/20260816191830.533747-5-alseycmiller@gmail.com/]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Alsey Coleman Miller
2026-10-19 22:46:13 +02:00
committed by Thomas Petazzoni
parent 2a40ba95b1
commit bc8a47c1ef

View File

@@ -12,6 +12,12 @@ SDL3_IMAGE_LICENSE_FILES = LICENSE.txt
SDL3_IMAGE_INSTALL_STAGING = YES
SDL3_IMAGE_DEPENDENCIES = sdl3
# Do not use vendored dependencies
# Request dynamic linking to dependencies instead of dlopen()
SDL3_IMAGE_CONF_OPTS = \
-DSDLIMAGE_VENDORED=OFF \
-DSDLIMAGE_DEPS_SHARED=OFF
ifeq ($(BR2_PACKAGE_LIBPNG),y)
SDL3_IMAGE_DEPENDENCIES += libpng
SDL3_IMAGE_CONF_OPTS += -DSDLIMAGE_PNG=ON