mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 01:20:42 -05:00
build: Move libmutter_name to toplevel Meson file
The libmutter name will be reused by other Meson files, so it makes sense to share it instead of rebuilding this string every time.
This commit is contained in:
parent
05ab8eebe8
commit
dcb525397c
@ -71,6 +71,8 @@ localedir = join_paths(datadir, 'locale')
|
||||
top_srcdir = meson.current_source_dir()
|
||||
builddir = meson.current_build_dir()
|
||||
|
||||
libmutter_name = 'mutter-' + libmutter_api_version
|
||||
|
||||
m_dep = cc.find_library('m', required: true)
|
||||
x11_dep = dependency('x11')
|
||||
gtk3_dep = dependency('gtk+-3.0', version: gtk3_req)
|
||||
|
@ -731,7 +731,6 @@ mutter_built_sources += mutter_marshal
|
||||
mutter_built_sources += mutter_enum_types
|
||||
mutter_built_sources += mutter_version
|
||||
|
||||
libmutter_name = 'mutter-' + libmutter_api_version
|
||||
libmutter = shared_library(libmutter_name,
|
||||
sources: [
|
||||
mutter_sources,
|
||||
|
Loading…
Reference in New Issue
Block a user