sensor-hal-tm2: change the hard coded path for supporting 64bit platform 65/93865/1 accepted/tizen/mobile/20161101.005749 submit/tizen_mobile/20161031.063726
authorkibak.yoon <kibak.yoon@samsung.com>
Wed, 26 Oct 2016 06:57:59 +0000 (15:57 +0900)
committerkibak.yoon <kibak.yoon@samsung.com>
Wed, 26 Oct 2016 06:57:59 +0000 (15:57 +0900)
Change-Id: I80fda496440a3527c21ecc8b8c285d3bea0cbfee
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
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