Merge branch 'no_static_builds' into 'main'

libs: Don't allow static libraries to be built

See merge request wayland/wayland!372
This commit is contained in:
Derek Foreman 2025-09-19 22:14:06 -05:00
commit 22cf7213e9
3 changed files with 4 additions and 4 deletions

View file

@ -12,7 +12,7 @@ if wayland_version[0] != '1'
error('We probably need to bump the SONAME of libwayland-cursor')
endif
wayland_cursor = library(
wayland_cursor = shared_library(
'wayland-cursor',
sources: [
'wayland-cursor.c',

View file

@ -1,4 +1,4 @@
wayland_egl = library(
wayland_egl = shared_library(
'wayland-egl',
sources: [
'wayland-egl.c',

View file

@ -170,7 +170,7 @@ if get_option('libraries')
error('We probably need to bump the SONAME of libwayland-server and -client')
endif
wayland_server = library(
wayland_server = shared_library(
'wayland-server',
sources: [
wayland_server_protocol_core_h,
@ -223,7 +223,7 @@ if get_option('libraries')
meson.override_dependency('wayland-server', wayland_server_dep)
endif
wayland_client = library(
wayland_client = shared_library(
'wayland-client',
sources: [
wayland_client_protocol_core_h,