build: Build libmutter using sources as positional arguments

The "sources" keyword argument does not seem documented at
https://mesonbuild.com/Reference-manual.html#shared_library or
the related objects.

It may work, but let's use meson as intended.

https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1458
This commit is contained in:
Carlos Garnacho 2020-09-30 01:19:11 +02:00 committed by Robert Mader
parent 089be8b71d
commit 4dbf2dea05

View File

@ -935,10 +935,8 @@ mutter_built_sources += mutter_enum_types
mutter_built_sources += mutter_version mutter_built_sources += mutter_version
libmutter = shared_library(libmutter_name, libmutter = shared_library(libmutter_name,
sources: [ mutter_sources,
mutter_sources, mutter_built_sources,
mutter_built_sources,
],
version: '0.0.0', version: '0.0.0',
soversion: 0, soversion: 0,
gnu_symbol_visibility: 'hidden', gnu_symbol_visibility: 'hidden',