From: Wook Song Date: Mon, 26 Nov 2018 01:17:58 +0000 (+0900) Subject: [Filter/TFLite] Move shared object of tflitecore to libdir X-Git-Tag: v0.0.3~39 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=58178fb139429ed5ea43d675f7dc855e017040ba;p=platform%2Fupstream%2Fnnstreamer.git [Filter/TFLite] Move shared object of tflitecore to libdir This patch moves the shared object of tflitecore, libtensor_filter_tflitecore.so, from GST_PLUGIN_PATH to INSTALL_LIBDIR. Signed-off-by: Wook Song --- diff --git a/debian/nnstreamer.install b/debian/nnstreamer.install index 3ed7b1b..a12f5f3 100644 --- a/debian/nnstreamer.install +++ b/debian/nnstreamer.install @@ -1 +1,2 @@ +/usr/lib/libtensor_filter_tflitecore.so /usr/lib/gstreamer-1.0/*.so diff --git a/gst/tensor_filter/CMakeLists.txt b/gst/tensor_filter/CMakeLists.txt index 2924cc6..6ba3b66 100644 --- a/gst/tensor_filter/CMakeLists.txt +++ b/gst/tensor_filter/CMakeLists.txt @@ -58,6 +58,6 @@ ADD_LIBRARY(tensor_filterOBJ OBJECT ${FILTER_SOURCE}) INSTALL(TARGETS ${FILTER_TARGET} RUNTIME DESTINATION ${EXEC_PREFIX} - LIBRARY DESTINATION ${GST_INSTALL_DIR} + LIBRARY DESTINATION ${LIB_INSTALL_DIR} ARCHIVE DESTINATION ${LIB_INSTALL_DIR} ) diff --git a/packaging/nnstreamer.spec b/packaging/nnstreamer.spec index b693ab8..9106de1 100644 --- a/packaging/nnstreamer.spec +++ b/packaging/nnstreamer.spec @@ -151,6 +151,7 @@ install build/gst/tensor_filter/*.a %{buildroot}%{_libdir}/ %manifest nnstreamer.manifest %defattr(-,root,root,-) %license LICENSE +%{_libdir}/libtensor_filter_tflitecore.so %{gstlibdir}/*.so %files devel @@ -168,7 +169,7 @@ install build/gst/tensor_filter/*.a %{buildroot}%{_libdir}/ %defattr(-,root,root,-) %license LICENSE %{_libdir}/*.so - +%exclude %{_libdir}/libtensor_filter_tflitecore.so %changelog * Mon Oct 15 2018 MyungJoo Ham