From bd7b29a6c48712d35afbddd672cded48844011ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20C=C3=AErna=C8=9B?= Date: Tue, 4 May 2021 13:51:35 +0200 Subject: [PATCH] Only compile gtkmountoperation-stub if the X11 backend is not enabled --- gtk/meson.build | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gtk/meson.build b/gtk/meson.build index ed6c97617b..2bb41b03e7 100644 --- a/gtk/meson.build +++ b/gtk/meson.build @@ -814,7 +814,6 @@ endif if macos_enabled gtk_sources += files([ 'gtksearchenginequartz.c', - 'gtkmountoperation-stub.c', 'gtkapplication-quartz.c', 'gtkapplication-quartz-menu.c', 'gtkfilechoosernativequartz.c', @@ -825,7 +824,7 @@ if macos_enabled gtk_cargs += ['-xobjective-c'] # FIXME? maybe add_languages() instead? endif -if not (x11_enabled or win32_enabled or macos_enabled) +if not (x11_enabled or win32_enabled) gtk_sources += ['gtkmountoperation-stub.c', ] endif