Add libudev to avoid HAL test failure in thermal 59/196559/1 accepted/tizen/unified/20190214.060641 submit/tizen/20190213.081423
authorlokilee73 <changjoo.lee@samsung.com>
Wed, 2 Jan 2019 08:38:31 +0000 (17:38 +0900)
committerlokilee73 <changjoo.lee@samsung.com>
Wed, 2 Jan 2019 09:04:45 +0000 (18:04 +0900)
ex) fail to open module : /usr/lib/hw/thermal.so: undefined symbol: udev_new

Change-Id: I7478a4f355bdd4b00bc928f1fafdb1163fb69f78
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
hw/thermal/CMakeLists.txt

index 1aa2e45..42bcc20 100644 (file)
@@ -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}")