mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2026-03-20 05:34:35 -04:00
libs: Don't allow static libraries to be built
Static libraries have no namespacing, so our "private" symbols become global. This results in functions like os_create_anonymous_file() crashing into functions of the same name in multiple projects. Since our test suite fails for static builds already, it's probably a clear indication that they're not well tested - so let's just force everything to be shared instead of trying to fix up static support. Signed-off-by: Derek Foreman <derek.foreman@collabora.com>
This commit is contained in:
parent
44b1c0c737
commit
21025f6975
3 changed files with 4 additions and 4 deletions
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue