mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-22 17:02:01 -09:00
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:
committed by
Thomas Petazzoni
parent
2a40ba95b1
commit
bc8a47c1ef
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user