--- a/meson.build +++ b/meson.build @@ -51,7 +51,6 @@ gdk_pixbuf, pangocairo, systemd, - libnotify, realtime, math, ] --- a/dunstify.c +++ b/dunstify.c @@ -9,6 +9,11 @@ * @license BSD-3-Clause */ +/* System libnotify.pc defines G_LOG_DOMAIN=libnotify without quotes, + * which breaks glib assertion macros. Must be fixed before any includes. */ +#undef G_LOG_DOMAIN +#define G_LOG_DOMAIN "libnotify" + #include #include #include