--- meson.build.orig	2021-04-14 18:58:02
+++ meson.build	2023-07-17 14:15:05
@@ -83,7 +83,7 @@
 
 # Workaround for meson's bug
 # https://github.com/mesonbuild/meson/pull/1896
-if get_option('b_ndebug') == true
+if get_option('b_ndebug') == 'true'
   common_flags += ['-DG_DISABLE_ASSERT']
 endif
 
--- plugins/common/meson.build.orig	2021-04-14 18:58:02
+++ plugins/common/meson.build	2023-07-17 14:10:26
@@ -25,7 +25,7 @@
 
 ldflags = []
 if host_is_darwin
-  ldflags += ['-Wl,-bundle_loader,@0@'.format(join_paths(), meson.build_root(), meson.project_name(), meson.project_name())]
+  ldflags += ['-Wl,-bundle_loader,@0@'.format(join_paths(meson.build_root(), meson.project_name(), meson.project_name()))]
 endif
 
 libcommon = static_library(
