Add libsyscommon to required package to provide linker flag 01/265901/2
authorYoungjae Cho <y0.cho@samsung.com>
Thu, 17 Jun 2021 06:05:01 +0000 (15:05 +0900)
committerHyotaek Shim <hyotaek.shim@samsung.com>
Tue, 2 Nov 2021 00:07:57 +0000 (00:07 +0000)
For haltest, it cannot run by itself because it is not able to resolve
sys_get_int() symbol of libsyscommon. Therefore, provide ldflag to
locate libsyscommon.so

Change-Id: I5351662241a66c960bcb914e141ae331097e80b7
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
(cherry picked from commit 46f444e2bcd7253b5dd708ccce1e46f2b7f80a42)

hw/display/CMakeLists.txt

index d9411fc4de90564b3b765d08e5945a235cb32962..1db4a9e955fa9ead52823248c2f0ad10c264a706 100644 (file)
@@ -4,7 +4,7 @@ PROJECT(hal-backend-device-display C)
 SET(PREFIX ${CMAKE_INSTALL_PREFIX})
 
 INCLUDE(FindPkgConfig)
-pkg_check_modules(hal-backend-device-display_pkgs REQUIRED hal-backend-device-common)
+pkg_check_modules(hal-backend-device-display_pkgs REQUIRED hal-backend-device-common libsyscommon)
 
 FOREACH(flag ${display_pkgs_CFLAGS})
        SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}")