forked from mirrors/nixpkgs
77bf0246b7
See #90452. For some reason the build was working initially but stated failing after some other changes. The problem is a missing dependency to link with librt for shm_open and shm_unlink [0]. Fix #90452. [0]: https://www.man7.org/linux/man-pages/man3/shm_open.3.html
21 lines
451 B
Diff
21 lines
451 B
Diff
diff --git a/meson.build b/meson.build
|
|
index cc6fa03..7c2b280 100644
|
|
--- a/meson.build
|
|
+++ b/meson.build
|
|
@@ -24,6 +24,7 @@ add_project_arguments(c_args, language: 'c')
|
|
cc = meson.get_compiler('c')
|
|
|
|
libm = cc.find_library('m', required: false)
|
|
+librt = cc.find_library('rt', required: false)
|
|
|
|
pixman = dependency('pixman-1')
|
|
libuv = dependency('libuv')
|
|
@@ -65,6 +66,7 @@ sources = [
|
|
|
|
dependencies = [
|
|
libm,
|
|
+ librt,
|
|
pixman,
|
|
libuv,
|
|
egl,
|