sensor-hal-tm2: change the hard coded path for supporting 64bit platform 35/94935/1 accepted/tizen/3.0/mobile/20161102.075410 accepted/tizen/mobile/20161102.073600 submit/tizen_3.0/20161102.044607 submit/tizen_unified/20170308.100404 submit/tizen_unified/20170309.100423
authorkibak.yoon <kibak.yoon@samsung.com>
Wed, 26 Oct 2016 06:57:59 +0000 (15:57 +0900)
committerKibak Yoon <kibak.yoon@samsung.com>
Wed, 2 Nov 2016 04:37:41 +0000 (21:37 -0700)
Change-Id: I80fda496440a3527c21ecc8b8c285d3bea0cbfee
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
(cherry picked from commit cdf81fed122400acc8be123e237f0ec1e2d72a38)

CMakeLists.txt
packaging/sensor-hal-tm2.spec

index c4b5109..d0e6aa5 100644 (file)
@@ -150,4 +150,4 @@ ADD_LIBRARY(${PROJECT_NAME} SHARED ${SRCS})
 TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${HAL_PKGS_LDFLAGS})
 
 INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/LICENSE.APLv2 DESTINATION share/license RENAME ${PROJECT_NAME})
-INSTALL(TARGETS ${PROJECT_NAME} DESTINATION /usr/lib/sensor)
+INSTALL(TARGETS ${PROJECT_NAME} DESTINATION ${CMAKE_INSTALL_LIBDIR}/sensor)
index 87807d8..15cb332 100644 (file)
@@ -51,5 +51,5 @@ install -m 0644 %SOURCE2 %{buildroot}/usr/lib/udev/rules.d
 %manifest packaging/%{name}.manifest
 /usr/lib/udev/rules.d/99-sensor.rules
 /usr/lib/udev/rules.d/99-sensorhub.rules
-/usr/lib/sensor/*.so
+%{_libdir}/sensor/*.so
 %{_datadir}/license/sensor-hal-tm2