From d1ecc12a8509aeaafbbb05f756ca9f787b8abcea Mon Sep 17 00:00:00 2001 From: lokilee73 Date: Wed, 2 Jan 2019 17:38:31 +0900 Subject: [PATCH] Add libudev to avoid HAL test failure in thermal ex) fail to open module : /usr/lib/hw/thermal.so: undefined symbol: udev_new Change-Id: I7478a4f355bdd4b00bc928f1fafdb1163fb69f78 Signed-off-by: lokilee73 --- hw/thermal/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/thermal/CMakeLists.txt b/hw/thermal/CMakeLists.txt index 1aa2e45..42bcc20 100644 --- a/hw/thermal/CMakeLists.txt +++ b/hw/thermal/CMakeLists.txt @@ -4,7 +4,7 @@ PROJECT(thermal C) SET(PREFIX ${CMAKE_INSTALL_PREFIX}) INCLUDE(FindPkgConfig) -pkg_check_modules(thermal_pkgs REQUIRED hwcommon dlog glib-2.0) +pkg_check_modules(thermal_pkgs REQUIRED hwcommon dlog glib-2.0 libudev) FOREACH(flag ${thermal_pkgs_CFLAGS}) SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}") -- 2.7.4