feat: use regex to match no strstr

This commit is contained in:
DreamMaoMao 2025-05-18 18:26:06 +08:00
parent aa0e1e1fe9
commit 64b15fe4e7
5 changed files with 59 additions and 18 deletions

View file

@ -37,6 +37,7 @@ wlroots_dep = dependency('wlroots-0.19')
xkbcommon_dep = dependency('xkbcommon')
libinput_dep = dependency('libinput')
libwayland_client_dep = dependency('wayland-client')
pcre2_dep = dependency('libpcre2-8')
# 获取 Git Commit Hash 和最新的 tag
git = find_program('git', required : false)
@ -79,6 +80,7 @@ executable('maomao',
xkbcommon_dep,
libinput_dep,
libwayland_client_dep,
pcre2_dep,
],
install : true,
c_args : c_args