Merge branch 'fix-macos-build' into 'main'

meson: Fix project not compiling in macOS

Closes #3419

See merge request GNOME/glib!4175
This commit is contained in:
Michael Catanzaro 2024-07-28 16:27:57 +00:00
commit 474dbd91f7

View File

@ -399,10 +399,7 @@ if host_system != 'windows'
if glib_have_os_x_9_or_later
unix_sources += files('gcocoanotificationbackend.m')
endif
unix_sources += files(
'gosxnetworkmonitor.c',
'gosxnetworkmonitor.h'
)
unix_sources += files('gosxnetworkmonitor.c')
application_headers += files('gosxappinfo.h')
else
contenttype_sources += files('gcontenttype-fdo.c')