diff options
author | Johannes Wikner <johannes.wikner@gmail.com> | 2022-06-30 18:55:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-30 17:55:35 +0100 |
commit | e062dc7ca2bb70561b11674428939057832158a9 (patch) | |
tree | 96656a7621cf2a8889b5cfbd8d78a5e1d546097c /meson.build | |
parent | 0a8d78e7d4aa7557fb24d93ab2a329663724bc0d (diff) |
Add dependency on librt
This is required for shm_open and shm_unlink on some systems.
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meson.build b/meson.build index 8bc2b01..1c71eef 100644 --- a/meson.build +++ b/meson.build @@ -84,6 +84,7 @@ compgen_sources = files( ) cc = meson.get_compiler('c') +librt = cc.find_library('rt', required: false) libm = cc.find_library('m', required: false) freetype = dependency('freetype2') harfbuzz = dependency('harfbuzz') @@ -126,7 +127,7 @@ endforeach executable( 'tofi', tofi_sources, wl_proto_src, wl_proto_headers, - dependencies: [libm, freetype, harfbuzz, cairo, pangocairo, wayland_client, xkbcommon], + dependencies: [librt, libm, freetype, harfbuzz, cairo, pangocairo, wayland_client, xkbcommon], install: true ) |