fix build by not trying to statically link sdl3

libSDL3.a does not exist but meson still tries to statically link
everything in the Requires.private part of the sdl3.pc pkgconfig file.
In the case of gbm libgbm.a had unresolved symbols.

build failure reported by tb@ who tracked this back to a change in the
devel/sdl3 port to build with -DSDL_DEPS_SHARED=OFF

ok tb@
This commit is contained in:
jsg
2026-03-25 03:09:17 +00:00
parent 1c75b7fb79
commit fde6f4fe79
@@ -9,3 +9,12 @@ Index: src/meson.build
'lua5.4', # Debian
'lua-5.4', # FreeBSD
'lua', # Fedora
@@ -59,7 +60,7 @@ freetype_dep = dependency('freetype2', fallback: ['fre
)
-sdl_dep = dependency('sdl3', static: true)
+sdl_dep = dependency('sdl3')
lite_deps = [lua_dep, sdl_dep, freetype_dep, pcre2_dep, libm, libdl]