mirror of
https://github.com/brl/mutter.git
synced 2025-08-02 22:54:44 +00:00
build: Prefer dependencies instead of link_with
Meson uses the 'dependencies' field to determine and parallelize build steps, but that isn't entirely true with 'link_with'; this might cause a race condition when generating header files while trying to build them. Fix that by only using 'dependencies' instead of 'link_with'.
This commit is contained in:
@@ -15,8 +15,12 @@ libmutter_cogl_test_unit = executable('test-unit',
|
||||
'-DTESTS_DATADIR="@0@/tests/data"'.format(cogl_srcdir),
|
||||
],
|
||||
include_directories: cogl_test_unit_includes,
|
||||
dependencies: [cogl_deps, libmutter_cogl_test_fixtures_dep],
|
||||
link_with: [libmutter_cogl, libmutter_cogl_path],
|
||||
dependencies: [
|
||||
cogl_deps,
|
||||
libmutter_cogl_dep,
|
||||
libmutter_cogl_path_dep,
|
||||
libmutter_cogl_test_fixtures_dep,
|
||||
],
|
||||
install: false,
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user