tests: Add missing thread library dependency 11/27911/1
authorDamian Hobson-Garcia <dhobsong@igel.co.jp>
Wed, 17 Aug 2022 16:59:41 +0000 (01:59 +0900)
committerDamian Hobson-Garcia <dhobsong@igel.co.jp>
Wed, 17 Aug 2022 17:27:14 +0000 (02:27 +0900)
The lease manager component uses pthread calls, so the library
needs to be linked for the testcases as well as the main excutable.

Bug-AGL: SPEC-3848

Signed-off-by: Damian Hobson-Garcia <dhobsong@igel.co.jp>
Change-Id: Ie0d36df57b854836bb6b77f8324fdbf3223c2fef

drm-lease-manager/test/meson.build

index 8d5c06f..0da9040 100644 (file)
@@ -28,7 +28,7 @@ lm_test_sources = [
 lm_test = executable('lease-manager-test',
            sources: lm_test_sources,
            objects: lm_objects,
-           dependencies: [check_dep, fff_dep, dlmcommon_dep, drm_dep],
+           dependencies: [check_dep, fff_dep, dlmcommon_dep, drm_dep, thread_dep],
            c_args: test_c_args,
            include_directories: ls_inc)