From 4937352761525de4b034e5f0152261ff5e7552f3 Mon Sep 17 00:00:00 2001 From: Vaxry Date: Fri, 1 Mar 2024 14:14:28 +0000 Subject: makefile: add asan --- scripts/waylandStatic.diff | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 scripts/waylandStatic.diff (limited to 'scripts/waylandStatic.diff') diff --git a/scripts/waylandStatic.diff b/scripts/waylandStatic.diff new file mode 100644 index 00000000..04aeda23 --- /dev/null +++ b/scripts/waylandStatic.diff @@ -0,0 +1,23 @@ +diff --git a/src/meson.build b/src/meson.build +index 5d04334..6645eec 100644 +--- a/src/meson.build ++++ b/src/meson.build +@@ -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 = static_library( + 'wayland-server', + sources: [ + wayland_server_protocol_core_h, +@@ -180,9 +180,6 @@ if get_option('libraries') + 'wayland-shm.c', + 'event-loop.c' + ], +- # To avoid an unnecessary SONAME bump, wayland 1.x.y produces +- # libwayland-server.so.0.x.y. +- version: '.'.join(['0', wayland_version[1], wayland_version[2]]), + dependencies: [ + epoll_dep, + ffi_dep, -- cgit v1.2.3