From 6b4e346c248c353efb08c76a319cfb80e65840de Mon Sep 17 00:00:00 2001 From: Bruno Lopes Date: Fri, 30 May 2025 08:36:17 -0300 Subject: [PATCH] plug-ins: Build 'file-desktop-link' only on Linux --- plug-ins/common/meson.build | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/plug-ins/common/meson.build b/plug-ins/common/meson.build index e172603779..84cc77b364 100644 --- a/plug-ins/common/meson.build +++ b/plug-ins/common/meson.build @@ -23,9 +23,6 @@ common_plugins_list = [ 'deps': [ gegl, gdk_pixbuf, cairo, gio, liblzma, pango, bz2, zlib, ], }, { 'name': 'file-csource', }, - { 'name': 'file-desktop-link', - 'deps': [ gtk3, gegl, gdk_pixbuf, cairo, ], - }, { 'name': 'file-dicom', }, { 'name': 'file-farbfeld', }, { 'name': 'file-gbr', }, @@ -176,6 +173,13 @@ if platform_windows common_plugins_list += { 'name': 'file-lnk', } endif +if platform_linux + common_plugins_list += { + 'name': 'file-desktop-link', + 'deps': [ gtk3, gegl, gdk_pixbuf, cairo, ], + } +endif + if not platform_windows common_plugins_list += { 'name': 'mail', } endif