Add libsyscommon to required package to provide linker flag 74/259974/1
authorYoungjae Cho <y0.cho@samsung.com>
Thu, 17 Jun 2021 06:05:01 +0000 (15:05 +0900)
committerYoungjae Cho <y0.cho@samsung.com>
Thu, 17 Jun 2021 06:05:01 +0000 (15:05 +0900)
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>
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}")