mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
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:
@@ -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]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user