/usr/lib/libupdate-control-plugin.so is fixed in src/update_control.c, so
this is where plugin must be installed, regardless of actual architecture's
libdir (/usr/lib vs /usr/lib64).
Change-Id: I1d964ef93711f6e7444c66fad374f5f4f9da13cc
%files plugin
%manifest %{name}.manifest
%license LICENSE
-%{_libdir}/libupdate-control-plugin.so*
+# path is fixed in src/update_control.c
+/usr/lib/libupdate-control-plugin.so*
CLEAN_DIRECT_OUTPUT 1
)
-INSTALL(TARGETS ${fw_name} DESTINATION ${LIB_INSTALL_DIR})
+INSTALL(TARGETS ${fw_name} DESTINATION /usr/lib)
)
ADD_EXECUTABLE(${PKG_NAME} ${SOURCE_FILES})
TARGET_LINK_LIBRARIES(${PKG_NAME} ${${PKG_NAME}_LDFLAGS} "-ldl")
-INSTALL(TARGETS ${PKG_NAME} DESTINATION bin)
\ No newline at end of file
+INSTALL(TARGETS ${PKG_NAME} DESTINATION bin)